From 538aff29f23365fbf9704a8366a9bc1ad4d3abc9 Mon Sep 17 00:00:00 2001 From: sagitter Date: Mar 27 2017 08:52:14 +0000 Subject: Disable ARM builds (failed for memory exhausted) --- diff --git a/icecat.spec b/icecat.spec index e126c94..0caa4f0 100644 --- a/icecat.spec +++ b/icecat.spec @@ -69,6 +69,9 @@ %bcond_without pulseaudio # +## /usr/bin/ld: final link failed: Memory exhausted +ExcludeArch: %{arm} + Name: icecat Version: 52.0.1 Release: 4%{?dist} @@ -389,14 +392,13 @@ echo "ac_add_options --enable-dtrace" >> .mozconfig %define optimize_flags "none" # Fedora 26 (gcc7) needs to disable default build flags (mozbz#1342344) %if 0%{?fedora} > 25 -%ifnarch s390 s390x %{arm} +%ifnarch s390 s390x %define optimize_flags "-g -O2" %endif %endif %ifarch %{arm} # ARMv7 need that (rhbz#1426850) -#%%define optimize_flags "-g -O2 -fno-schedule-insns" -echo 'ac_add_options --disable-optimize' >> .mozconfig +%define optimize_flags "-g -O2 -fno-schedule-insns" %endif %ifarch ppc64le aarch64 %define optimize_flags "-g -O2" @@ -448,9 +450,7 @@ find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';' # # Disable C++ exceptions since Mozilla code is not exception-safe # -%ifnarch %{arm} MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//') -%endif #rhbz#1037063 # -Werror=format-security causes build failures when -Wno-format is explicitly given # for some sources @@ -752,7 +752,7 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appda %changelog * Sun Mar 26 2017 Antonio Trande 52.0.1-4 -- Disable optimize on ARMs +- Disable ARM builds (failed for memory exhausted) * Wed Mar 22 2017 Antonio Trande 52.0.1-3 - Added fix for mozbz#1158076