[Xfce4-commits] <xfce4-volumed:master> Patch by Corsac allowing configure.ac to use a predefined CFLAGS environment variable

Steve Dodier noreply at xfce.org
Wed Mar 2 20:32:01 CET 2011


Updating branch refs/heads/master
         to cbff81851006207fa02a0c6bdc4aa7f40b88c383 (commit)
       from 832d4fd6691e54a805a585448f2d1c02966c64ba (commit)

commit cbff81851006207fa02a0c6bdc4aa7f40b88c383
Author: Yves-Alexis Perez <corsac at corsac.net>
Date:   Sun Nov 21 23:15:46 2010 +0100

    Patch by Corsac allowing configure.ac to use a predefined CFLAGS environment variable

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8650a79..32aab35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,9 +57,9 @@ AM_CONDITIONAL(HAVE_LIBNOTIFY, [test "$HAVE_LIBNOTIFY" = "1"])
 
 
 if test "x$enable_debug" = "xyes"; then
-  CFLAGS="-g"
+  CFLAGS="$CFLAGS -g"
 else
-  CFLAGS="-O2 -DNDEBUG"
+  CFLAGS="$CFLAGS -O2 -DNDEBUG"
 fi
 
 AC_OUTPUT([



More information about the Xfce4-commits mailing list