SOURCES: ascal-optimization.patch - drop wrong CPPFLAGS usage and ...

qboosh qboosh at pld-linux.org
Sat Jan 5 17:10:47 CET 2008


Author: qboosh                       Date: Sat Jan  5 16:10:47 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- drop wrong CPPFLAGS usage and whole -O manipulation

---- Files affected:
SOURCES:
   ascal-optimization.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ascal-optimization.patch
diff -u SOURCES/ascal-optimization.patch:1.1 SOURCES/ascal-optimization.patch:1.2
--- SOURCES/ascal-optimization.patch:1.1	Thu Nov  1 01:45:29 2007
+++ SOURCES/ascal-optimization.patch	Sat Jan  5 17:10:42 2008
@@ -1,11 +1,24 @@
---- ascal-0.1.1/configure.ac	2006-12-30 01:54:39.000000000 +0100
-+++ ascal-0.1.1/configure.ac-new	2007-11-01 01:41:27.417445220 +0100
-@@ -65,7 +65,7 @@
-         CPPFLAGS="$CPPFLAGS -g -O0"
- else
-     CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
+--- ascal-0.1.1/configure.ac.orig	2006-12-30 01:54:39.000000000 +0100
++++ ascal-0.1.1/configure.ac	2008-01-05 16:52:13.008151938 +0100
+@@ -61,11 +61,7 @@
+ 
+ if test "$enable_debug" = yes; then
+         AC_DEFINE(DEBUG, 1, [Enable debug msg.])
+-		CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
+-        CPPFLAGS="$CPPFLAGS -g -O0"
+-else
+-    CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
 -	CPPFLAGS="$CPPFLAGS -O3"
-+	CPPFLAGS="$CPPFLAGS"
++        CXXFLAGS="$CXXFLAGS -g"
  fi
  
  AC_ARG_ENABLE(Werror,
+@@ -127,7 +123,7 @@
+ echo "  Compile Warnings: $enable_Werror"
+ echo ""
+ echo "The following options will be passed to the compiler:"
+-echo "  $CPPFLAGS"
++echo "  $CPPFLAGS $CXXFLAGS"
+ echo ""
+ echo "======================================================================"
+ echo ""
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ascal-optimization.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list