From 10a1651d939290d8831e8f2a4206e7ce91db699a Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Tue, 22 Sep 2009 17:01:34 +0300 Subject: [PATCH] build: Supress all CC warnings by default Supress all warnings from C compiler unless told to be strict. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 8dbafbf..c2e864f 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,8 @@ AC_ARG_ENABLE(strict-cc, enable_strict_cc=no) if test "x$enable_strict_cc" = "xyes"; then CFLAGS="$CFLAGS -Wall -Werror" +else + CFLAGS="$CFLAGS -w" fi # Run uninstalled -- 2.7.4