[packages/thunderbird] sync more flags with firefox

atler atler at pld-linux.org
Sun Sep 8 22:14:32 CEST 2019


commit 92411103a52c7cf4cc4783a194ca7558fcbb0f0d
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Sep 8 22:13:54 2019 +0200

    sync more flags with firefox

 thunderbird.spec | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 98530ae..ec1bad2 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -1268,8 +1268,18 @@ export CXX="clang++"
 export CC="%{__cc}"
 export CXX="%{__cxx}"
 %endif
+%ifarch %{ix86}
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -g0"
+export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -g0"
+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"
+export RUSTFLAGS="-Cdebuginfo=0"
+%else
 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+%endif
 
 %if %{with crashreporter}
 export MOZ_DEBUG_SYMBOLS=1
@@ -1337,7 +1347,7 @@ ac_add_options --with-system-png
 ac_add_options --with-system-zlib
 EOF
 
-export MOZ_MAKE_FLAGS="-j1"
+%{!?with_clang:export MOZ_MAKE_FLAGS="-j1"}
 
 AUTOCONF=/usr/bin/autoconf2_13 ./mach build
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list