summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch')
-rw-r--r--dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch b/dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch
new file mode 100644
index 00000000000..7fa0d01702b
--- /dev/null
+++ b/dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch
@@ -0,0 +1,23 @@
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -61,7 +61,6 @@ str_test_CPPFLAGS= -I$(top_builddir)/include/ -I$(top_srcdir)/include/
+ str_test_LDADD= -lpthread ../src/libcdada.la
+
+ benchmark_SOURCES= benchmark.cc
+-benchmark_CXXFLAGS= -O3
+ benchmark_CPPFLAGS= -I$(top_builddir)/include/ -I$(top_srcdir)/include/
+ benchmark_LDADD= -lpthread ../src/.libs/libcdada.a
+
+--- a/config_m4/debug.m4
++++ b/config_m4/debug.m4
+@@ -10,8 +10,8 @@
+ AC_DEFINE([DEBUG], [], [Description])
+ AC_MSG_RESULT(yes)
+ else
+- CFLAGS="$CFLAGS -O3" #--compiler-options -fno-strict-aliasing --compiler-options -fno-inline
+- CXXFLAGS="$CXXFLAGS -O3" #-fomit-frame-pointer"
++ CFLAGS="$CFLAGS" #--compiler-options -fno-strict-aliasing --compiler-options -fno-inline
++ CXXFLAGS="$CXXFLAGS" #-fomit-frame-pointer"
+ AC_DEFINE([NDEBUG], [], [Description])
+ AC_MSG_RESULT(no)
+ fi