From: Jan Palus Date: Sun, 8 Sep 2019 20:13:54 +0000 (+0200) Subject: sync more flags with firefox X-Git-Tag: auto/th/thunderbird-68.0-2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fthunderbird.git;a=commitdiff_plain;h=92411103a52c7cf4cc4783a194ca7558fcbb0f0d sync more flags with firefox --- 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