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>
This commit is contained in:
Joonas Niilola
2022-11-10 09:53:36 +02:00
parent 82b69b4c3b
commit 9727ea837b
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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