Skip to content

Commit

Permalink
dev-util/codeblocks: rm '-fno-delete-null-pointer-checks' flag
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
band-a-prend authored and leio committed Jul 14, 2018
1 parent 26e8882 commit 7ebb127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dev-util/codeblocks/codeblocks-17.12-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions dev-util/codeblocks/codeblocks-17.12-r301.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7ebb127

Please sign in to comment.