diff options
author | 2017-09-29 15:00:04 -0400 | |
---|---|---|
committer | 2017-09-29 15:00:04 -0400 | |
commit | aa16fff9832d0a21149abb2e090252cc9a5bcb51 (patch) | |
tree | 1d58e513308a92fa232501e01909474e5f0e360e | |
parent | firefox: add patch to avoid nICEr implicit declarations (diff) | |
download | mozilla-aa16fff9832d0a21149abb2e090252cc9a5bcb51.tar.gz mozilla-aa16fff9832d0a21149abb2e090252cc9a5bcb51.tar.bz2 mozilla-aa16fff9832d0a21149abb2e090252cc9a5bcb51.zip |
drop gold USE flag and honour whatever binutils-config has set
-rw-r--r-- | eclass/mozconfig-v6.56.eclass | 12 | ||||
-rw-r--r-- | www-client/firefox/metadata.xml | 1 |
2 files changed, 8 insertions, 5 deletions
diff --git a/eclass/mozconfig-v6.56.eclass b/eclass/mozconfig-v6.56.eclass index 53057f05..c0ecf599 100644 --- a/eclass/mozconfig-v6.56.eclass +++ b/eclass/mozconfig-v6.56.eclass @@ -84,7 +84,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v5 # Set the variable to any value if the use flag should exist but not be default-enabled. # use-flags common among all mozilla ebuilds -IUSE="${IUSE} dbus debug gold neon pulseaudio selinux startup-notification system-harfbuzz +IUSE="${IUSE} dbus debug neon pulseaudio selinux startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-libvpx" # some notes on deps: @@ -197,14 +197,18 @@ mozconfig_config() { --with-system-zlib \ --with-system-bz2 - # Disable for testing purposes only - mozconfig_annotate 'Upstream bug 1341234' --disable-stylo + # Disable for testing purposes only + mozconfig_annotate 'Upstream bug 1341234' --disable-stylo # Must pass release in order to properly select linker via gold useflag mozconfig_annotate 'Enable by Gentoo' --enable-release # Must pass --enable-gold if using ld.gold - mozconfig_use_enable gold + if tc-ld-is-gold ; then + mozconfig_annotate 'tc-ld-is-gold=true' --enable-gold + else + mozconfig_annotate 'tc-ld-is-gold=false' --disable-gold + fi if has bindist ${IUSE}; then mozconfig_use_enable !bindist official-branding diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml index a338b442..66af8a40 100644 --- a/www-client/firefox/metadata.xml +++ b/www-client/firefox/metadata.xml @@ -14,7 +14,6 @@ <flag name="gtk2">Use the cairo-gtk2 rendering engine</flag> <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles</flag> - <flag name="gold">Enable use of ld.gold linker</flag> <flag name="hwaccel">Force-enable hardware-accelerated rendering (Mozilla bug 594876)</flag> <flag name="jemalloc">Enable or disable jemalloc</flag> <flag name="pgo">Add support for profile-guided optimization using gcc-4.5, |