summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/amsynth/files/amsynth-1.2.0-cflags.patch')
-rw-r--r--media-sound/amsynth/files/amsynth-1.2.0-cflags.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch
new file mode 100644
index 000000000000..a2d7e0b8e6a8
--- /dev/null
+++ b/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch
@@ -0,0 +1,26 @@
+Index: amSynth-1.2.0/configure.in
+===================================================================
+--- amSynth-1.2.0.orig/configure.in
++++ amSynth-1.2.0/configure.in
+@@ -5,7 +5,7 @@ AM_CONFIG_HEADER(config.h)
+
+
+ addCXXFLAGS="-D_REENTRANT"
+-CXXFLAGS="-Wall"
++CXXFLAGS="$CXXFLAGS -Wall"
+
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+@@ -117,12 +117,6 @@ else
+ profiling=no
+ fi
+
+-if test $profiling = "no"; then
+- if test $debugging = "no"; then
+- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer"
+- fi
+-fi
+-
+
+ dnl
+ dnl