Use gold linker on i686
This commit is contained in:
parent
69d7077952
commit
d79b33b641
@ -510,11 +510,10 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
|
|||||||
export MOZ_DEBUG_FLAGS=" "
|
export MOZ_DEBUG_FLAGS=" "
|
||||||
%endif
|
%endif
|
||||||
%if !0%{?build_with_clang}
|
%if !0%{?build_with_clang}
|
||||||
%ifarch s390 ppc aarch64 %{ix86}
|
%ifarch s390 ppc aarch64
|
||||||
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||||
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{arm}
|
%ifarch %{arm} %{ix86}
|
||||||
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
|
||||||
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user