mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-10-05 20:49:05 -07:00
Code::Blocks IDE package version bump to 17.12 with switching 'WX_GTK_VER' from x11-libs/wxGTK:2.8 to x11-libs/wxGTK:3.0 This also adds a new USE flag 'fortran' which controls the building of 'FortranProject plugin' for Code::Blocks IDE ( https://sourceforge.net/projects/fortranproject/ ) after applying of 'FortranProject_autotools_build.diff' patch. Add patch 'FortranProject_fix_build_gcc7_failed.patch' from upstream that fix gcc7 compilation error "call of overloaded ‘abs(unsigned int)’ is ambiguous" for FortranProject plugin, i.e. when USE="fortran". Remove USE=flag "static" with passing "--disable-static" to econf within src_configure() section. Remove directly passing "-g" compiler option to CFLAGS and CXXFLAGS when USE="debug" by applying the patch 'codeblocks-17.12-nodebug.diff'. Updating 'metadata.xml' file: Adding 'fortran' USE-flag description for 'dev-util/codeblocks-17.12'. Updating 'Manifest' file: Adding size, blake2 and sha512 checksums for 'codeblocks_17.12.tar.xz' tarball Bug: https://bugs.gentoo.org/643494 Closes: https://bugs.gentoo.org/643494
14 lines
611 B
Diff
14 lines
611 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 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
|