if we're building with gcc, add "-std=gnu99" to CFLAGS s.t. we get warnings for badly-formed inline functions
This commit is contained in:
parent
d202c5ecea
commit
8318642989
|
@ -49,7 +49,7 @@ AC_PROG_CC
|
|||
AC_PROG_CXX
|
||||
AC_C_INLINE
|
||||
if test "x$GCC" = "xyes" ; then
|
||||
CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement"
|
||||
CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -std=gnu99"
|
||||
CXXFLAGS="-Wall -Wformat-security -W"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue