|
@ -1,16 +1,15 @@ |
|
|
--- a/configure.ac
|
|
|
--- a/configure.ac
|
|
|
+++ b/configure.ac
|
|
|
+++ b/configure.ac
|
|
|
@@ -348,11 +348,11 @@ fi
|
|
|
|
|
|
|
|
|
@@ -386,10 +386,11 @@ fi
|
|
|
|
|
|
|
|
|
if test "x$debug" = xtrue; then |
|
|
if test "x$debug" = xtrue; then |
|
|
CPPFLAGS="-DDEBUG $CPPFLAGS" |
|
|
CPPFLAGS="-DDEBUG $CPPFLAGS" |
|
|
- CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
|
|
|
|
|
|
- CFLAGS="-g $CFLAGS"
|
|
|
- CFLAGS="-g $CFLAGS"
|
|
|
+ CFLAGS=$(echo "$CFLAGS" | sed 's/-g[0-9]*//')
|
|
|
+ CFLAGS=$(echo "$CFLAGS" | sed 's/-g[0-9]*//')
|
|
|
+ CFLAGS="-g3 $CFLAGS"
|
|
|
+ CFLAGS="-g3 $CFLAGS"
|
|
|
else |
|
|
else |
|
|
CPPFLAGS="-DNDEBUG $CPPFLAGS" |
|
|
CPPFLAGS="-DNDEBUG $CPPFLAGS" |
|
|
- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
|
|
|
|
|
|
|
|
|
- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
|
|
|
+ CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g[0-9]*//')
|
|
|
+ CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g[0-9]*//')
|
|
|
CFLAGS="-O3 -funroll-loops $CFLAGS" |
|
|
CFLAGS="-O3 -funroll-loops $CFLAGS" |
|
|
fi |
|
|
fi |
|
|