Browse Source

configure: Add -Wstrict-prototypes to CFLAGS if available.

Diego Biurrun 13 years ago
parent
commit
c2ed91de84
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure

+ 1 - 0
configure

@@ -2992,6 +2992,7 @@ check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
 check_cflags -Wundef
 check_cflags -Wmissing-prototypes
+check_cflags -Wstrict-prototypes
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags