summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-11-10 09:51:42 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-11-10 09:54:52 +0200
commit82b69b4c3b20285be228a8eb1ad9487aff73986a (patch)
tree0f953e9dacea40deed366d6ee2b1a1d846d37fd0 /www-client
parentmedia-video/vcsi: drop 7.0.13 (diff)
downloadgentoo-82b69b4c3b20285be228a8eb1ad9487aff73986a.tar.gz
gentoo-82b69b4c3b20285be228a8eb1ad9487aff73986a.tar.bz2
gentoo-82b69b4c3b20285be228a8eb1ad9487aff73986a.zip
www-client/firefox: cover more scenarios with AS="$(tc-getCC) -c"
Closes: https://bugs.gentoo.org/732190 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/firefox-102.4.0.ebuild2
-rw-r--r--www-client/firefox/firefox-106.0.5.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/www-client/firefox/firefox-102.4.0.ebuild b/www-client/firefox/firefox-102.4.0.ebuild
index 49346cd4dda6..c5330f9f9bbf 100644
--- a/www-client/firefox/firefox-102.4.0.ebuild
+++ b/www-client/firefox/firefox-102.4.0.ebuild
@@ -625,7 +625,6 @@ src_configure() {
have_switched_compiler=yes
fi
AR=llvm-ar
- AS="clang -c"
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
@@ -650,6 +649,7 @@ src_configure() {
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
# Pass the correct toolchain paths through cbindgen
diff --git a/www-client/firefox/firefox-106.0.5.ebuild b/www-client/firefox/firefox-106.0.5.ebuild
index 84b885c8cd46..c4bc3fc9939a 100644
--- a/www-client/firefox/firefox-106.0.5.ebuild
+++ b/www-client/firefox/firefox-106.0.5.ebuild
@@ -670,7 +670,6 @@ src_configure() {
have_switched_compiler=yes
fi
AR=llvm-ar
- AS="clang -c"
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
@@ -695,6 +694,7 @@ src_configure() {
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
# Pass the correct toolchain paths through cbindgen