From: Mike Gilbert Date: Sun, 13 Nov 2016 19:09:13 +0000 (-0500) Subject: www-client/chromium: use test-flags-CXX -fno-delete-null-pointer-checks X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c470ece433590712b4946c3398e24c8f111993c5;p=gentoo.git www-client/chromium: use test-flags-CXX -fno-delete-null-pointer-checks Package-Manager: portage-2.3.2_p5 --- diff --git a/www-client/chromium/chromium-56.0.2914.3.ebuild b/www-client/chromium/chromium-56.0.2914.3.ebuild index 900a8ff2a3d0..999d7a3838af 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\""