[seed] fix #659548 - stop CFLAGS getting unconditionally overwritten
- From: Alan Knowles <alank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] fix #659548 - stop CFLAGS getting unconditionally overwritten
- Date: Fri, 23 Sep 2011 06:08:35 +0000 (UTC)
commit 1ec48efc03df9368a59f501dfd1de9c9b15f016c
Author: Alan Knowles <alan akbkhome com>
Date: Fri Sep 23 14:08:06 2011 +0800
fix #659548 - stop CFLAGS getting unconditionally overwritten
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index adc33b1..b5e6d1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,10 +392,10 @@ AC_ARG_ENABLE(debug,
if test "x$enable_debug" = "xyes"; then
SEED_DEBUG_CFLAGS="-DSEED_ENABLE_DEBUG -g"
- CFLAGS="-O0 -Wall"
+ CFLAGS="$CFLAGS -O0 -Wall"
else
SEED_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
- CFLAGS="-Wall"
+ CFLAGS="$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]