summaryrefslogtreecommitdiff
blob: 7fa0d01702b3027fc3edce5700ea1d29fb76b377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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