commit:     32a7f483a65e3e659bc977858d5edea799ab193f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 19:24:43 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 19:24:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a7f483

mail-client/thunderbird: 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>

 mail-client/thunderbird/thunderbird-78.3.1.ebuild | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/mail-client/thunderbird/thunderbird-78.3.1.ebuild 
b/mail-client/thunderbird/thunderbird-78.3.1.ebuild
index 9590a37ffb3..70e6b9b4825 100644
--- a/mail-client/thunderbird/thunderbird-78.3.1.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.3.1.ebuild
@@ -552,16 +552,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