mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user