[packages/thunderbird] disable debug symbols when building without debug packages

atler atler at pld-linux.org
Fri Jan 24 18:30:16 CET 2025


commit abcfb196ca8f824292ac5565706d19f5bf6d30c9
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Jan 24 18:04:03 2025 +0100

    disable debug symbols when building without debug packages

 thunderbird.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 1f79070..cd55b0c 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -1404,6 +1404,9 @@ ac_add_options --enable-crash-on-assert
 %else
 ac_add_options --disable-debug
 %endif
+%if 0%{?_enable_debug_packages} == 0
+ac_add_options --disable-debug-symbols
+%endif
 ac_add_options --disable-strip
 ac_add_options --disable-install-strip
 %if %{with tests}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/abcfb196ca8f824292ac5565706d19f5bf6d30c9



More information about the pld-cvs-commit mailing list