1 |
commit: c933d829abca11b8909587fa14ce82e24dd175d5 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 14:35:59 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 14:36:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c933d829 |
7 |
|
8 |
mail-client/thunderbird: 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 |
mail-client/thunderbird/thunderbird-78.3.1.ebuild | 6 +++++- |
16 |
1 file changed, 5 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/mail-client/thunderbird/thunderbird-78.3.1.ebuild b/mail-client/thunderbird/thunderbird-78.3.1.ebuild |
19 |
index 16934b765b0..ffd926e975b 100644 |
20 |
--- a/mail-client/thunderbird/thunderbird-78.3.1.ebuild |
21 |
+++ b/mail-client/thunderbird/thunderbird-78.3.1.ebuild |
22 |
@@ -561,7 +561,11 @@ src_configure() { |
23 |
mozconfig_add_options_ac '+debug' --disable-optimize |
24 |
else |
25 |
if is-flag '-g*' ; then |
26 |
- mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') |
27 |
+ if use clang ; then |
28 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') |
29 |
+ else |
30 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols |
31 |
+ fi |
32 |
else |
33 |
mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols |
34 |
fi |