summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2018-11-01 12:42:23 +0100
committerSven Eden <sven.eden@gmx.de>2018-11-01 12:42:23 +0100
commit45637ccc016ac61838a2115e7a904868fd927149 (patch)
treecfb38812a3c3375b848243e4dda2771d87bfb931
parentx11-wm/lumina : Removed obsolete versions. (diff)
downloadseden-45637ccc016ac61838a2115e7a904868fd927149.tar.gz
seden-45637ccc016ac61838a2115e7a904868fd927149.tar.bz2
seden-45637ccc016ac61838a2115e7a904868fd927149.zip
dev-util/codeblocks: Re-Add missing patch
-rw-r--r--dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
new file mode 100644
index 0000000..7cbb678
--- /dev/null
+++ b/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
@@ -0,0 +1,13 @@
+# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug"
+diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4
+--- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300
++++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300
+@@ -91,8 +91,6 @@
+ AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],,
+ enable_debug=$debug_default)
+ if test "x$enable_debug" = "xyes"; then
+- CFLAGS="-g $CFLAGS"
+- CXXFLAGS="-g $CXXFLAGS"
+ CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS"
+ AC_MSG_RESULT(yes)
+ else