www-client/chromium: use test-flags-CXX -fno-delete-null-pointer-checks
authorMike Gilbert <floppym@gentoo.org>
Sun, 13 Nov 2016 19:09:13 +0000 (14:09 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 13 Nov 2016 19:09:53 +0000 (14:09 -0500)
Package-Manager: portage-2.3.2_p5

www-client/chromium/chromium-56.0.2914.3.ebuild

index 900a8ff2a3d026263c0b6ef0382e31acc25d7a9e..999d7a3838af72831e7af76356c03d3c96595679 100644 (file)
@@ -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\""