diff options
author | ajs <ajs> | 2007-04-30 19:14:08 +0000 |
---|---|---|
committer | ajs <ajs> | 2007-04-30 19:14:08 +0000 |
commit | 18528e6ae667966433e74cdd9cfe215e2b90d08e (patch) | |
tree | 66d57ceb6593cc90d6b08b3f78119acf381bd39f | |
parent | 74c3e8e3a6041da6e5638d644e9c3d89bdcd5059 (diff) | |
download | quagga-18528e6ae667966433e74cdd9cfe215e2b90d08e.tar.bz2 quagga-18528e6ae667966433e74cdd9cfe215e2b90d08e.tar.xz |
[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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure.ac | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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> * configure.ac: Bump to 0.99.7 diff --git a/configure.ac b/configure.ac index 5421c766..b24ab916 100755 --- a/configure.ac +++ b/configure.ac @@ -119,7 +119,7 @@ if test "x${cflags_specified}" = "x" ; then AC_MSG_RESULT([Intel default]) ;; "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} -Wbad-function-cast -Wwrite-strings" CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations" |