summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-10 02:02:36 +0000
committerSam James <sam@gentoo.org>2021-12-10 03:48:49 +0000
commit1b98cd4575ae862baae6c36744bcc0f852063eb1 (patch)
treee8be2b887b84bb8fecfca16a7c2abcbc02e5b74f /dev-libs/libcdada/files
parentapp-crypt/certbot-nginx: 1.19.0 bump (diff)
downloadgentoo-1b98cd4575ae862baae6c36744bcc0f852063eb1.tar.gz
gentoo-1b98cd4575ae862baae6c36744bcc0f852063eb1.tar.bz2
gentoo-1b98cd4575ae862baae6c36744bcc0f852063eb1.zip
dev-libs/libcdada: add 0.3.5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libcdada/files')
-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