From 6801b4a0b202099598430e53bcc684d405002f69 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Wed, 25 Apr 2012 11:28:49 +0200 Subject: [PATCH] Add -std=c99 -pedantic when using GCC. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 82a0e02..cfad9b5 100644 --- a/configure.ac +++ b/configure.ac @@ -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