sync more flags with firefox
authorJan Palus <atler@pld-linux.org>
Sun, 8 Sep 2019 20:13:54 +0000 (22:13 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 8 Sep 2019 20:13:54 +0000 (22:13 +0200)
thunderbird.spec

index 98530ae767a3ea83f2dac70bef637054f20e2dd2..ec1bad2ca3428713ee350da2363c3ffc2ee8442d 100644 (file)
@@ -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
 
This page took 0.05125 seconds and 4 git commands to generate.