You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff

14 lines
611 B

# 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