commit: 82b69b4c3b20285be228a8eb1ad9487aff73986a Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Thu Nov 10 07:51:42 2022 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Nov 10 07:54:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b69b4c
www-client/firefox: cover more scenarios with AS="$(tc-getCC) -c" Closes: https://bugs.gentoo.org/732190 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/firefox-102.4.0.ebuild | 2 +- www-client/firefox/firefox-106.0.5.ebuild | 2 +- 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
