Compile optimized binaries with debug symbols (they'll be moved by rpm to the -debugi...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 20 Apr 2010 15:04:35 +0000 (17:04 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 20 Apr 2010 15:04:35 +0000 (17:04 +0200)
configure.in

index a1f20c4..ff4edb1 100644 (file)
@@ -15,7 +15,7 @@ AC_ARG_WITH(optimize,[  --with-optimize      compile with optimizing],
 [
     AC_MSG_CHECKING(for optimizing)
     if test "$withval" != "no"; then
-        CXXFLAGS=" -O2 "
+        CXXFLAGS=" -g -O2 "
         AC_MSG_RESULT(yes)
     else
         CXXFLAGS=" -g -O0 "