[seed] [build] Turn -Wall on globally (was just in libseed)
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [build] Turn -Wall on globally (was just in libseed)
- Date: Sun, 5 Jul 2009 20:30:15 +0000 (UTC)
commit 49d206c70cacc50106dff7696dcf22ef910bde8c
Author: Tim Horton <hortont svn gnome org>
Date: Sun Jul 5 16:29:30 2009 -0400
[build] Turn -Wall on globally (was just in libseed)
configure.ac | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 82ed08a..ae621ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,6 @@ ensureflag() {
changequote([,])dnl
-
dnl =====================Internationalization==================================
GETTEXT_PACKAGE=seed
AC_SUBST(GETTEXT_PACKAGE)
@@ -343,7 +342,6 @@ AC_ARG_ENABLE(profile-modules,
if test "x$enable_profile" = "xyes"; then
SEED_PROFILE_CFLAGS="-fprofile-arcs -ftest-coverage"
SEED_PROFILE_LIBS="-lgcov"
- CFLAGS="-O0"
[need_debug="yes"]
fi
@@ -364,9 +362,10 @@ AC_ARG_ENABLE(debug,
if test "x$enable_debug" = "xyes"; then
SEED_DEBUG_CFLAGS="-DSEED_ENABLE_DEBUG -g"
- CFLAGS="-O0"
+ CFLAGS="-O0 -Wall"
else
SEED_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
+ CFLAGS="-Wall"
if test "x$need_debug" = "xyes"; then
AC_MSG_ERROR([debug must be enabled in order to enable profiling.])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]