summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libspatialindex/files/libspatialindex-1.8.0-QA.patch')
-rw-r--r--sci-libs/libspatialindex/files/libspatialindex-1.8.0-QA.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.8.0-QA.patch b/sci-libs/libspatialindex/files/libspatialindex-1.8.0-QA.patch
new file mode 100644
index 000000000000..446452dc9ef1
--- /dev/null
+++ b/sci-libs/libspatialindex/files/libspatialindex-1.8.0-QA.patch
@@ -0,0 +1,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
+