diff options
author | Richard Hughes <richard@hughsie.com> | 2013-01-09 10:28:48 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-01-09 10:28:48 +0000 |
commit | b188a49a9c9a2521429552c644151ae4a3acdfc6 (patch) | |
tree | 8db83fcb2dc629c033087c1bb6ce2da8936f9b59 | |
parent | 35b0d25b49d04cf7d33699c34f42a196c8e92a2e (diff) | |
download | upower-b188a49a9c9a2521429552c644151ae4a3acdfc6.tar.gz |
Never use -WError when building
-rw-r--r-- | configure.ac | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index be52fab..0af9d5e 100644 --- a/configure.ac +++ b/configure.ac @@ -107,24 +107,6 @@ CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABL CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE" CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE" -dnl --------------------------------------------------------------------------- -dnl - Use strict options (default enabled for devs, disabled in releases) -dnl --------------------------------------------------------------------------- -dnl if .git directory is present, considering we are working in the repository -if test -d ".git"; then - default_strict=yes -else - default_strict=no -fi - -AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict],[Enable strict compilation options]), enable_strict=$enableval, - enable_strict=$default_strict) -if test x$enable_strict != xno; then - if test "$GCC" = "yes"; then - WARNINGFLAGS_C="$WARNINGFLAGS_C -Werror" - fi -fi - if test "$GCC" = "yes"; then WARNINGFLAGS_C="$WARNINGFLAGS_C -Wall" WARNINGFLAGS_C="$WARNINGFLAGS_C -Wcast-align -Wno-uninitialized" |