[packages/thunderbird/i686-memory] strip rust symbols when lowmem bcond is enabled
atler
atler at pld-linux.org
Thu Aug 6 13:10:29 CEST 2026
commit fdf224a8b184fe16c9e97e3c1a2ee9596bfe5831
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Aug 6 13:09:24 2026 +0200
strip rust symbols when lowmem bcond is enabled
thunderbird.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 20cbe56..bf5bcf5 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -1421,7 +1421,7 @@ export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
%endif
-export RUSTFLAGS="%{rpmrustflags} -C strip=debuginfo"
+export RUSTFLAGS="%{rpmrustflags}"
export CARGO_TERM_VERBOSE=true
%if %{with lowmem}
@@ -1431,6 +1431,7 @@ export MOZ_DEBUG_FLAGS=" "
export LLVM_USE_SPLIT_DWARF=1
export LLVM_PARALLEL_LINK_JOBS=1
export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+%define specrustflags -C strip=symbols
%endif
%if %{with crashreporter}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/fdf224a8b184fe16c9e97e3c1a2ee9596bfe5831
More information about the pld-cvs-commit
mailing list