From 5fa05099567bbe42aae87a9bef8fd630b3666a4d Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Mon, 30 Apr 2007 19:14:08 +0000 Subject: [build] Improve portability by invoking gcc with -std=gnu99 instead of -std=c99 2007-04-30 Andrew J. Schorr * configure.ac: Change gcc CFLAGS from '-std=c99' to '-std=gnu99' to improve portability. --- ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 810015de..ab4e1cdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-30 Andrew J. Schorr + + * configure.ac: Change gcc CFLAGS from '-std=c99' to '-std=gnu99' + to improve portability. + 2007-04-29 Paul Jakma * 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" -- cgit v1.2.1