commit:     588af89aae206ad01a2b80248e993d92b25084fe
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 19:22:31 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 19:24:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588af89a

www-client/firefox: USE=debug implies --enable-debug-symbols

Bug: https://bugs.gentoo.org/746131
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 | 8 +-------
 www-client/firefox/firefox-81.0.1.ebuild | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/www-client/firefox/firefox-78.3.1.ebuild 
b/www-client/firefox/firefox-78.3.1.ebuild
index b5f29994dff..3e0f59ad97a 100644
--- a/www-client/firefox/firefox-78.3.1.ebuild
+++ b/www-client/firefox/firefox-78.3.1.ebuild
@@ -557,16 +557,10 @@ src_configure() {
 
        mozconfig_use_enable debug
        if use debug ; then
-               if is-flag '-g*' ; then
-                       mozconfig_add_options_ac '+debug' 
--enable-debug-symbols=$(get-flag '-g*')
-               else
-                       mozconfig_add_options_ac '+debug' --enable-debug-symbols
-               fi
-
                mozconfig_add_options_ac '+debug' --disable-optimize
        else
                if is-flag '-g*' ; then
-                       mozconfig_add_options_ac '+debug' 
--enable-debug-symbols=$(get-flag '-g*')
+                       mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols=$(get-flag '-g*')
                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 986291f0ae3..eb407d1a1c9 100644
--- a/www-client/firefox/firefox-81.0.1.ebuild
+++ b/www-client/firefox/firefox-81.0.1.ebuild
@@ -557,16 +557,10 @@ src_configure() {
 
        mozconfig_use_enable debug
        if use debug ; then
-               if is-flag '-g*' ; then
-                       mozconfig_add_options_ac '+debug' 
--enable-debug-symbols=$(get-flag '-g*')
-               else
-                       mozconfig_add_options_ac '+debug' --enable-debug-symbols
-               fi
-
                mozconfig_add_options_ac '+debug' --disable-optimize
        else
                if is-flag '-g*' ; then
-                       mozconfig_add_options_ac '+debug' 
--enable-debug-symbols=$(get-flag '-g*')
+                       mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols=$(get-flag '-g*')
                else
                        mozconfig_add_options_ac 'Gentoo default' 
--disable-debug-symbols
                fi

Reply via email to