commit: c933d829abca11b8909587fa14ce82e24dd175d5 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Oct 4 14:35:59 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Oct 4 14:36:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c933d829
mail-client/thunderbird: don't pass -g* value from FLAGS when not using CLANG Closes: https://bugs.gentoo.org/721126 Closes: https://bugs.gentoo.org/746506 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> mail-client/thunderbird/thunderbird-78.3.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mail-client/thunderbird/thunderbird-78.3.1.ebuild b/mail-client/thunderbird/thunderbird-78.3.1.ebuild index 16934b765b0..ffd926e975b 100644 --- a/mail-client/thunderbird/thunderbird-78.3.1.ebuild +++ b/mail-client/thunderbird/thunderbird-78.3.1.ebuild @@ -561,7 +561,11 @@ src_configure() { mozconfig_add_options_ac '+debug' --disable-optimize else if is-flag '-g*' ; then - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi else mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols fi
