Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Sun, 04 Oct 2020 14:36:35
Message-Id: 1601822183.d16d2717ec6e75c500dd429abf39e93bc1d58130.whissi@gentoo
1 commit: d16d2717ec6e75c500dd429abf39e93bc1d58130
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 14:33:56 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 14:36:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16d2717
7
8 www-client/firefox: don't pass -g* value from FLAGS when not using CLANG
9
10 Closes: https://bugs.gentoo.org/721126
11 Closes: https://bugs.gentoo.org/746506
12 Package-Manager: Portage-3.0.8, Repoman-3.0.1
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 www-client/firefox/firefox-78.3.1.ebuild | 6 +++++-
16 www-client/firefox/firefox-81.0.1.ebuild | 6 +++++-
17 2 files changed, 10 insertions(+), 2 deletions(-)
18
19 diff --git a/www-client/firefox/firefox-78.3.1.ebuild b/www-client/firefox/firefox-78.3.1.ebuild
20 index 7393ac574e6..af2a9e59b72 100644
21 --- a/www-client/firefox/firefox-78.3.1.ebuild
22 +++ b/www-client/firefox/firefox-78.3.1.ebuild
23 @@ -566,7 +566,11 @@ src_configure() {
24 mozconfig_add_options_ac '+debug' --disable-optimize
25 else
26 if is-flag '-g*' ; then
27 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
28 + if use clang ; then
29 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
30 + else
31 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
32 + fi
33 else
34 mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
35 fi
36
37 diff --git a/www-client/firefox/firefox-81.0.1.ebuild b/www-client/firefox/firefox-81.0.1.ebuild
38 index abcb74f221b..b73b187b80c 100644
39 --- a/www-client/firefox/firefox-81.0.1.ebuild
40 +++ b/www-client/firefox/firefox-81.0.1.ebuild
41 @@ -566,7 +566,11 @@ src_configure() {
42 mozconfig_add_options_ac '+debug' --disable-optimize
43 else
44 if is-flag '-g*' ; then
45 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
46 + if use clang ; then
47 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
48 + else
49 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
50 + fi
51 else
52 mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
53 fi