summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch')
-rw-r--r--media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch b/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch
new file mode 100644
index 000000000000..94c37dbbe409
--- /dev/null
+++ b/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch
@@ -0,0 +1,25 @@
+--- soundtouch.orig/source/SoundStretch/Makefile.am
++++ soundtouch/source/SoundStretch/Makefile.am
+@@ -43,11 +43,5 @@
+ ## linker.
+ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm
+
+-## linker flags
+-soundstretch_LDFLAGS=-s
+-
+-## additional compiler flags
+-soundstretch_CXXFLAGS=-O3
+-
+ #clean-local:
+ # -rm -f additional-files-to-remove-on-make-clean
+--- soundtouch.orig/source/SoundTouch/Makefile.am
++++ soundtouch/source/SoundTouch/Makefile.am
+@@ -36,7 +36,7 @@
+ # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
+ # fix this script to automatically check for CPU architecture, please submit a patch
+ # to me.
+-AM_CXXFLAGS=-O3 -msse2 -fcheck-new -I../../include
++AM_CXXFLAGS=-fcheck-new -I../../include
+
+
+ # other linking flags to add