aboutsummaryrefslogtreecommitdiff
blob: 446452dc9ef100591ee5fc256173130c11a2b7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- spatialindex-src-1.8.0/configure.ac
+++ spatialindex-src-1.8.0/configure.ac
@@ -49,10 +49,10 @@
 AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging [default=$debug_default]],, enable_debug=$debug_default)
 
 if test "x$enable_debug" = "xyes"; then
-	CXXFLAGS="$CXXFLAGS -g -DDEBUG"
+	CXXFLAGS="$CXXFLAGS -DDEBUG"
 	AC_MSG_RESULT(checking wether debug information is enabled... yes)
 else
-	CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
+	CXXFLAGS="$CXXFLAGS -DNDEBUG"
 	AC_MSG_RESULT(checking wether debug information is enabled... no)
 fi