diff --git a/icecat.spec b/icecat.spec index d335604..681d51a 100644 --- a/icecat.spec +++ b/icecat.spec @@ -405,7 +405,7 @@ echo "ac_add_options --disable-system-sqlite" >> .mozconfig %endif echo "ac_add_options --with-system-zlib" >> .mozconfig echo "ac_add_options --with-system-bz2" >> .mozconfig -echo "ac_add_options --with-system-libevent=%{_prefix}" >> .mozconfig +echo "ac_add_options --with-system-libevent=%{_prefix}/../%{_lib}" >> .mozconfig echo "ac_add_options --enable-llvm-hacks" >> .mozconfig %if %{?with_vpx} echo "ac_add_options --with-system-libvpx" >> .mozconfig @@ -450,6 +450,9 @@ echo 'ac_add_options --enable-optimize' >> .mozconfig %endif echo "ac_add_options --disable-debug" >> .mozconfig %endif +%ifarch %{arm} +echo "ac_add_options --enable-linker=gold" >> .mozconfig +%endif echo "ac_add_options --disable-strip" >> .mozconfig echo "ac_add_options --disable-install-strip" >> .mozconfig @@ -521,10 +524,10 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/' -e 's/-O2/-O1/') # (OOM when linking, rhbz#1238225) export MOZ_DEBUG_FLAGS=" " %endif -%ifarch s390x %{arm} %{power64} aarch64 %{arm} %{ix86} +%ifarch s390x %{arm} %{power64} aarch64 %{ix86} MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif -%ifarch %{arm} +%ifarch %{arm} %{ix86} export RUSTFLAGS="-Cdebuginfo=0" %endif export CFLAGS=$MOZ_OPT_FLAGS @@ -739,6 +742,8 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.x * Sun Mar 03 2019 Antonio Trande - 60.5.2-1 - Mozilla release 60.5.2 - Disable Werror-format-security flags +- Enable linker=gold on ARM +- Try to fix libevent LD path * Thu Feb 14 2019 Antonio Trande - 60.5.1-1 - Mozilla release 60.5.1