Add -std=c99 -pedantic when using GCC.
This commit is contained in:
parent
8645ce783b
commit
6801b4a0b2
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ AC_PROG_INSTALL
|
|||
CFLAGS="$CFLAGS -Wall"
|
||||
|
||||
AS_IF([test x"$GCC" = x"yes"], [
|
||||
CFLAGS="$CFLAGS -Werror -pipe"
|
||||
CFLAGS="$CFLAGS -Werror -pipe -std=c99 -pedantic"
|
||||
])
|
||||
|
||||
BUILDSYS_SHARED_LIB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue