a10ef6f
From: Thomas Moschny <thomas.moschny@gmx.de>
a10ef6f
Subject: [PATCH] t/cflags-lib
a10ef6f
a10ef6f
---
a10ef6f
 configure.ac | 4 ++--
a10ef6f
 1 file changed, 2 insertions(+), 2 deletions(-)
a10ef6f
b36a620
diff --git a/configure.ac b/configure.ac
d5542de
index 80c8c79..1edc256 100644
b36a620
--- a/configure.ac
b36a620
+++ b/configure.ac
27195f8
@@ -85,7 +85,7 @@ if test "$debug" = "yes"; then
b36a620
 else
b36a620
   AC_SUBST( debug, [no] )
b36a620
   AC_SUBST( cppflag, [] )
b36a620
-  AC_SUBST( cxxflag, [-O3] )
b36a620
+  AC_SUBST( cxxflag, [] )
b36a620
   AC_SUBST( object_path, [Release] )
b36a620
 fi
b36a620
 AC_MSG_RESULT($debug)
27195f8
@@ -100,7 +100,7 @@ fi
27195f8
 CPPFLAGS="$CPPFLAGS $cppflag"
b36a620
 
b36a620
 # For debugging and optimization ... overwrite default because it has both -g and -O2
b36a620
-CXXFLAGS="$cxxflag"
b36a620
+CXXFLAGS="$CXXFLAGS $cxxflag"
b36a620
 
b36a620
 # Check compiler and use -Wall if gnu.
b36a620
 if [test $GXX = "yes" ;] then
a10ef6f
a10ef6f
-- 
d5542de
tg: (67475d5..) t/cflags-lib (depends on: master)