From a4ed44e8c8a26d2b14c53b710c5fc319e3eee869 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Aug 31 2018 16:05:58 +0000 Subject: Expanded the list of architectures using memory-saving linker flags --- diff --git a/mame.spec b/mame.spec index 3f34385..1caedfa 100644 --- a/mame.spec +++ b/mame.spec @@ -218,10 +218,10 @@ MAME_FLAGS="NOWERROR=1 OPTIMIZE=2 PYTHON_EXECUTABLE=python3 VERBOSE=1 \ #standard -g causes builder to run out of memory %ifarch %{arm} %{ix86} riscv64 s390x RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed "s@-g@-g1@") -#%%{arm} needs even more measures -%ifarch %{arm} -RPM_LD_FLAGS="$RPM_LD_FLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif +#standard linker flags cause ld to fail due to insufficient memory +%ifarch %{arm} aarch64 %{ix86} x86_64 +RPM_LD_FLAGS="$RPM_LD_FLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif %if %{with debug} @@ -355,6 +355,7 @@ find $RPM_BUILD_ROOT%{_datadir}/%{name} -name LICENSE -exec rm {} \; * Thu Aug 30 2018 Julian Sikorski - 0.201-1 - Updated to 0.201 - Dropped upstreamed imgtool patch +- Expanded the list of architectures using memory-saving linker flags * Tue Jul 31 2018 Florian Weimer - 0.200-3 - Rebuild with fixed binutils