www-client/chromium: fix null pointer deref in V8 with gcc-6
authorMike Gilbert <floppym@gentoo.org>
Sun, 13 Nov 2016 21:06:17 +0000 (16:06 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 13 Nov 2016 21:06:17 +0000 (16:06 -0500)
Bug: https://bugs.gentoo.org/588596

Package-Manager: portage-2.3.2_p5

www-client/chromium/chromium-54.0.2840.100.ebuild

index ec95879295c9b7fbfec3ed313ecfab15f8cabaf9..3c2597fd130972b917e8cbfb60ce54eaba7f73c6 100644 (file)
@@ -538,6 +538,9 @@ src_configure() {
        # Make sure the build system will use the right tools, bug #340795.
        tc-export AR CC CXX NM
 
+       # 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\""