gentoo/dev-libs/libcdada/files/libcdada-0.3.5-respect-CFLAGS.patch
Sam James 1b98cd4575
dev-libs/libcdada: add 0.3.5
Signed-off-by: Sam James <sam@gentoo.org>
2021-12-10 03:48:49 +00:00

24 lines
850 B
Diff

--- 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