]> git.pld-linux.org Git - packages/flac.git/blobdiff - flac-opt.patch
- added opt patch (removed unwanted CFLAGS manipulation, incl. "-gdwarf4" to "dwarf4...
[packages/flac.git] / flac-opt.patch
diff --git a/flac-opt.patch b/flac-opt.patch
new file mode 100644 (file)
index 0000000..73a7e68
--- /dev/null
@@ -0,0 +1,16 @@
+--- flac-1.3.1/configure.ac.orig       2014-11-27 03:45:33.598155763 +0100
++++ flac-1.3.1/configure.ac    2014-11-29 09:01:11.196400208 +0100
+@@ -348,12 +348,9 @@
+ if test "x$debug" = xtrue; then
+       CPPFLAGS="-DDEBUG $CPPFLAGS"
+-      CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
+-      CFLAGS="-g $CFLAGS"
+ else
+       CPPFLAGS="-DNDEBUG $CPPFLAGS"
+-      CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
+-      CFLAGS="-O3 -funroll-loops $CFLAGS"
++      CFLAGS="$CFLAGS -O3 -funroll-loops"
+ fi
+ XIPH_GCC_VERSION
This page took 0.050554 seconds and 4 git commands to generate.