commit: d16d2717ec6e75c500dd429abf39e93bc1d58130 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Oct 4 14:33:56 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Oct 4 14:36:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16d2717
www-client/firefox: 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> www-client/firefox/firefox-78.3.1.ebuild | 6 +++++- www-client/firefox/firefox-81.0.1.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/www-client/firefox/firefox-78.3.1.ebuild b/www-client/firefox/firefox-78.3.1.ebuild index 7393ac574e6..af2a9e59b72 100644 --- a/www-client/firefox/firefox-78.3.1.ebuild +++ b/www-client/firefox/firefox-78.3.1.ebuild @@ -566,7 +566,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 diff --git a/www-client/firefox/firefox-81.0.1.ebuild b/www-client/firefox/firefox-81.0.1.ebuild index abcb74f221b..b73b187b80c 100644 --- a/www-client/firefox/firefox-81.0.1.ebuild +++ b/www-client/firefox/firefox-81.0.1.ebuild @@ -566,7 +566,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
