mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-client/chromium: work around invalid LD in environment
Bug: https://bugs.gentoo.org/597218 Package-Manager: portage-2.3.2
This commit is contained in:
@@ -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\""
|
||||
|
||||
|
||||
@@ -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\""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user