Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Tue, 08 Nov 2022 18:07:30
Message-Id: 1667930844.f6db890f35f8d70b829a6a2e5d2a98b87da0ca70.juippis@gentoo
1 commit: f6db890f35f8d70b829a6a2e5d2a98b87da0ca70
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 8 18:04:35 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 8 18:07:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6db890f
7
8 www-client/firefox: switch from llvm-as to "clang -c"
9
10 Closes: https://bugs.gentoo.org/879177
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 www-client/firefox/firefox-102.4.0.ebuild | 4 ++--
14 www-client/firefox/firefox-106.0.5.ebuild | 4 ++--
15 2 files changed, 4 insertions(+), 4 deletions(-)
16
17 diff --git a/www-client/firefox/firefox-102.4.0.ebuild b/www-client/firefox/firefox-102.4.0.ebuild
18 index 0d52f3b9361f..49346cd4dda6 100644
19 --- a/www-client/firefox/firefox-102.4.0.ebuild
20 +++ b/www-client/firefox/firefox-102.4.0.ebuild
21 @@ -625,7 +625,7 @@ src_configure() {
22 have_switched_compiler=yes
23 fi
24 AR=llvm-ar
25 - AS=llvm-as
26 + AS="clang -c"
27 CC=${CHOST}-clang
28 CXX=${CHOST}-clang++
29 NM=llvm-nm
30 @@ -650,7 +650,7 @@ src_configure() {
31 # Ensure we use correct toolchain
32 export HOST_CC="$(tc-getBUILD_CC)"
33 export HOST_CXX="$(tc-getBUILD_CXX)"
34 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
35 + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
36
37 # Pass the correct toolchain paths through cbindgen
38 if tc-is-cross-compiler ; then
39
40 diff --git a/www-client/firefox/firefox-106.0.5.ebuild b/www-client/firefox/firefox-106.0.5.ebuild
41 index e718211685a9..84b885c8cd46 100644
42 --- a/www-client/firefox/firefox-106.0.5.ebuild
43 +++ b/www-client/firefox/firefox-106.0.5.ebuild
44 @@ -670,7 +670,7 @@ src_configure() {
45 have_switched_compiler=yes
46 fi
47 AR=llvm-ar
48 - AS=llvm-as
49 + AS="clang -c"
50 CC=${CHOST}-clang
51 CXX=${CHOST}-clang++
52 NM=llvm-nm
53 @@ -695,7 +695,7 @@ src_configure() {
54 # Ensure we use correct toolchain
55 export HOST_CC="$(tc-getBUILD_CC)"
56 export HOST_CXX="$(tc-getBUILD_CXX)"
57 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
58 + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
59
60 # Pass the correct toolchain paths through cbindgen
61 if tc-is-cross-compiler ; then