diff --git a/atlas.spec b/atlas.spec index c1f5b44..e0c9385 100644 --- a/atlas.spec +++ b/atlas.spec @@ -5,7 +5,7 @@ Version: 3.10.3 %if "%{?enable_native_atlas}" != "0" %define dist .native %endif -Release: 4%{?dist} +Release: 5%{?dist} Summary: Automatically Tuned Linear Algebra Software Group: System Environment/Libraries @@ -406,7 +406,7 @@ cd .. %build p=$(pwd) - +%undefine _strict_symbol_defs_build %ifarch %{arm} %global mode %{nil} %else @@ -495,10 +495,9 @@ for type in %{types}; do %define pr_power8 %(echo $((%{__isa_bits}+4))) fi fi - mkdir -p %{_arch}_${type} pushd %{_arch}_${type} - ../configure %{mode} $thread_options $arg_options -D c -DWALL -Fa alg '%{flags} -g -Wa,--noexecstack -fPIC'\ + ../configure %{mode} $thread_options $arg_options -D c -DWALL -Fa alg '%{flags} -g -Wa,--noexecstack -fPIC ${RPM_LD_FLAGS}'\ --prefix=%{buildroot}%{_prefix} \ --incdir=%{buildroot}%{_includedir} \ --libdir=%{buildroot}%{_libdir}/${libname} @@ -821,6 +820,9 @@ fi %endif %changelog +* Wed Apr 25 2018 Jakub Martisko - 3.10.3-5 +- Pass RPM_LD_FLAGS to linker + * Wed Apr 25 2018 Jakub Martisko - 3.10.3-4 - Add gcc to buildrequires