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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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