mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 18:20:15 +00:00
[build] Improve portability by invoking gcc with -std=gnu99 instead of -std=c99
2007-04-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * configure.ac: Change gcc CFLAGS from '-std=c99' to '-std=gnu99' to improve portability.
This commit is contained in:
parent
f0ec832a78
commit
5fa0509956
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||||
|
|
||||||
|
* configure.ac: Change gcc CFLAGS from '-std=c99' to '-std=gnu99'
|
||||||
|
to improve portability.
|
||||||
|
|
||||||
2007-04-29 Paul Jakma <paul.jakma@sun.com>
|
2007-04-29 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
* configure.ac: Bump to 0.99.7
|
* configure.ac: Bump to 0.99.7
|
||||||
|
@ -119,7 +119,7 @@ if test "x${cflags_specified}" = "x" ; then
|
|||||||
AC_MSG_RESULT([Intel default])
|
AC_MSG_RESULT([Intel default])
|
||||||
;;
|
;;
|
||||||
"GCC")
|
"GCC")
|
||||||
CFLAGS="-Os -fno-omit-frame-pointer -g -std=c99 -Wall"
|
CFLAGS="-Os -fno-omit-frame-pointer -g -std=gnu99 -Wall"
|
||||||
CFLAGS="${CFLAGS} -Wsign-compare -Wpointer-arith"
|
CFLAGS="${CFLAGS} -Wsign-compare -Wpointer-arith"
|
||||||
CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
|
CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
|
||||||
CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations"
|
CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations"
|
||||||
|
Loading…
Reference in New Issue
Block a user