www-client/chromium: work around invalid LD in environment
authorMike Gilbert <floppym@gentoo.org>
Mon, 17 Oct 2016 04:12:45 +0000 (00:12 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 17 Oct 2016 04:12:45 +0000 (00:12 -0400)
Bug: https://bugs.gentoo.org/597218

Package-Manager: portage-2.3.2

www-client/chromium/chromium-54.0.2840.59.ebuild
www-client/chromium/chromium-55.0.2873.0.ebuild

index 26e676cf5ac91a37f0b432db849078a19730f0e7..150f342b539acfd8701e4c1edb98c93e57d2bb17 100644 (file)
@@ -537,6 +537,10 @@ src_configure() {
        # Make sure the build system will use the right tools, bug #340795.
        tc-export AR CC CXX NM
 
+       # Work around people setting LD in make.conf, bug 597218.
+       # gn's bootstrap.py looks at the environment first.
+       export LD=${CXX}
+
        # Define a custom toolchain for GN
        myconf_gn+=" custom_toolchain=\"${FILESDIR}/toolchain:default\""
 
index 53bd9394457d40bdce325781efc197ad3f50752e..133ec4a2caa83912d2a62f5f9092252c12764156 100644 (file)
@@ -535,6 +535,10 @@ src_configure() {
        # Make sure the build system will use the right tools, bug #340795.
        tc-export AR CC CXX NM
 
+       # Work around people setting LD in make.conf, bug 597218.
+       # gn's bootstrap.py looks at the environment first.
+       export LD=${CXX}
+
        # Define a custom toolchain for GN
        myconf_gn+=" custom_toolchain=\"${FILESDIR}/toolchain:default\""