mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
The USE-flag "pch" isn't droped this time due to https://sourceforge.net/p/codeblocks/tickets/1266/ Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/25393 Signed-off-by: Sam James <sam@gentoo.org>
14 lines
539 B
Diff
14 lines
539 B
Diff
# 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
|
|
+++ new/m4/acinclude.m4
|
|
@@ -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
|