commit:     c470ece433590712b4946c3398e24c8f111993c5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 19:09:13 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 19:09:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c470ece4

www-client/chromium: use test-flags-CXX -fno-delete-null-pointer-checks

Package-Manager: portage-2.3.2_p5

 www-client/chromium/chromium-56.0.2914.3.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/www-client/chromium/chromium-56.0.2914.3.ebuild 
b/www-client/chromium/chromium-56.0.2914.3.ebuild
index 900a8ff..999d7a3 100644
--- a/www-client/chromium/chromium-56.0.2914.3.ebuild
+++ b/www-client/chromium/chromium-56.0.2914.3.ebuild
@@ -437,10 +437,8 @@ src_configure() {
        # Make sure the build system will use the right tools, bug #340795.
        tc-export AR CC CXX NM
 
-       if tc-is-gcc; then
-               # https://bugs.gentoo.org/588596
-               append-flags -fno-delete-null-pointer-checks
-       fi
+       # https://bugs.gentoo.org/588596
+       append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks)
 
        # Define a custom toolchain for GN
        myconf_gn+=" custom_toolchain=\"${FILESDIR}/toolchain:default\""

Reply via email to