summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-11-10 09:53:36 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-11-10 09:54:52 +0200
commit9727ea837b301f13c1716d25e4b139454453b4d0 (patch)
tree72c1f8242bbd162ba21c3fa9304f8df69f1681d7 /mail-client/thunderbird
parentwww-client/firefox: cover more scenarios with AS="$(tc-getCC) -c" (diff)
downloadgentoo-9727ea837b301f13c1716d25e4b139454453b4d0.tar.gz
gentoo-9727ea837b301f13c1716d25e4b139454453b4d0.tar.bz2
gentoo-9727ea837b301f13c1716d25e4b139454453b4d0.zip
mail-client/thunderbird: cover more scenarios with AS="$(tc-getCC) -c"
Closes: https://bugs.gentoo.org/733268 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/thunderbird-102.4.0.ebuild2
-rw-r--r--mail-client/thunderbird/thunderbird-102.4.2.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail-client/thunderbird/thunderbird-102.4.0.ebuild b/mail-client/thunderbird/thunderbird-102.4.0.ebuild
index eb9b1b7dc0fe..67f10b0179dc 100644
--- a/mail-client/thunderbird/thunderbird-102.4.0.ebuild
+++ b/mail-client/thunderbird/thunderbird-102.4.0.ebuild
@@ -574,7 +574,6 @@ src_configure() {
have_switched_compiler=yes
fi
AR=llvm-ar
- AS="clang -c"
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
@@ -599,6 +598,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/mail-client/thunderbird/thunderbird-102.4.2.ebuild b/mail-client/thunderbird/thunderbird-102.4.2.ebuild
index 831f69b6d8f2..1dfca9adeb82 100644
--- a/mail-client/thunderbird/thunderbird-102.4.2.ebuild
+++ b/mail-client/thunderbird/thunderbird-102.4.2.ebuild
@@ -574,7 +574,6 @@ src_configure() {
have_switched_compiler=yes
fi
AR=llvm-ar
- AS="clang -c"
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
@@ -599,6 +598,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