dev-util/codeblocks: rm '-fno-delete-null-pointer-checks' flag
authorband-a-prend <torokhov-s-a@yandex.ru>
Tue, 29 May 2018 22:40:45 +0000 (01:40 +0300)
committerMart Raudsepp <leio@gentoo.org>
Sat, 14 Jul 2018 19:32:12 +0000 (22:32 +0300)
Remove '-fno-delete-null-pointer-checks' compiler flag.
This flag was added to allow to run Codeblocks after compiling codeblocks-16.01
with gcc-6.1 [1] and this issue was fixed in upstream on 2016-07-16 in ticket 10875 [2].
On the 2017-03-24 in upstream ticket 11033 [3] this flag was removed as no needed anymore:
'linux: Partially Revert rev 10875 because we no longer do null pointer checks'.

Refs:
[1] http://forums.codeblocks.org/index.php?topic=21283.0
[2] https://sourceforge.net/p/codeblocks/code/10875/
[3] https://sourceforge.net/p/codeblocks/code/11033/

dev-util/codeblocks/codeblocks-17.12-r1.ebuild
dev-util/codeblocks/codeblocks-17.12-r301.ebuild

index 26d074210172dd715adc3c435e2c015100a96eee..d6592a32274ea3a1cb94dc08e09ce9b225b99c67 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 WX_GTK_VER="3.0"
 
-inherit autotools flag-o-matic gnome2-utils wxwidgets xdg-utils
+inherit autotools gnome2-utils wxwidgets xdg-utils
 
 DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
 HOMEPAGE="http://www.codeblocks.org/"
@@ -50,8 +50,6 @@ src_prepare() {
 src_configure() {
        setup-wxwidgets
 
-       append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks)
-
        # USE="contrib -fortran" setup:
        use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
        # USE="contrib fortran" setup:
index cae914fdec3798b985f1969d8217322a2154cd6c..ccc5d2c786ae93c644cc0687703bcda16bcfa70f 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 WX_GTK_VER="3.0-gtk3"
 
-inherit autotools flag-o-matic gnome2-utils wxwidgets xdg-utils
+inherit autotools gnome2-utils wxwidgets xdg-utils
 
 DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
 HOMEPAGE="http://www.codeblocks.org/"
@@ -50,8 +50,6 @@ src_prepare() {
 src_configure() {
        setup-wxwidgets
 
-       append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks)
-
        # USE="contrib -fortran" setup:
        use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
        # USE="contrib fortran" setup: