[rygel] build: Supress all CC warnings by default



commit 10a1651d939290d8831e8f2a4206e7ce91db699a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Sep 22 17:01:34 2009 +0300

    build: Supress all CC warnings by default
    
    Supress all warnings from C compiler unless told to be strict.

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]