diff options
Diffstat (limited to 'dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff')
-rw-r--r-- | dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff | 13 |
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 000000000000..7cbb678dda6a --- /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 |