]> git.pld-linux.org Git - packages/ascal.git/blob - ascal-optimization.patch
- better optimization and gcc patches
[packages/ascal.git] / ascal-optimization.patch
1 --- ascal-0.1.1/configure.ac.orig       2006-12-30 01:54:39.000000000 +0100
2 +++ ascal-0.1.1/configure.ac    2008-01-05 16:52:13.008151938 +0100
3 @@ -61,11 +61,7 @@
4  
5  if test "$enable_debug" = yes; then
6          AC_DEFINE(DEBUG, 1, [Enable debug msg.])
7 -               CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
8 -        CPPFLAGS="$CPPFLAGS -g -O0"
9 -else
10 -    CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
11 -       CPPFLAGS="$CPPFLAGS -O3"
12 +        CXXFLAGS="$CXXFLAGS -g"
13  fi
14  
15  AC_ARG_ENABLE(Werror,
16 @@ -127,7 +123,7 @@
17  echo "  Compile Warnings: $enable_Werror"
18  echo ""
19  echo "The following options will be passed to the compiler:"
20 -echo "  $CPPFLAGS"
21 +echo "  $CPPFLAGS $CXXFLAGS"
22  echo ""
23  echo "======================================================================"
24  echo ""
This page took 0.118859 seconds and 3 git commands to generate.