aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-10-12 06:47:29 +0800
committerMartin Baulig <martin@src.gnome.org>1998-10-12 06:47:29 +0800
commit1ffd143502f5f98d7ea1824f6560f76a8653c1cc (patch)
tree484c8949f75f2029b97df4fba95135c0f72be11a
parent273fc6123144e9d70835fb62e1e016d179a19093 (diff)
downloadgsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar.gz
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar.bz2
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar.lz
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar.xz
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.tar.zst
gsoc2013-evolution-1ffd143502f5f98d7ea1824f6560f76a8653c1cc.zip
Now it should also work when building packages.
svn path=/trunk/; revision=444
-rw-r--r--macros/compiler-flags.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index c6cd1a6cbb..1a5cd8c6b2 100644
--- a/macros/compiler-flags.m4
+++ b/macros/compiler-flags.m4
@@ -11,13 +11,13 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
if test "x$GCC" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
- *) warnCFLAGS="-Wall" ;;
+ *) warnCFLAGS="-Wall -Wno-unused" ;;
esac
## -W is not all that useful. And it cannot be controlled
## with individual -Wno-xxx flags, unlike -Wall
if test "x$enable_compile_warnings" = "xyes"; then
- warnCFLAGS="$warnCFLAGS -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
+ warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
fi
fi
fi