From 709845b89e84a79a6d2fd4952223a366cae0ed9e Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Apr 11 2018 10:46:08 +0000 Subject: atlas.spec: pass RPM_LD_FLAGS to linker resolves: 1547515 --- diff --git a/atlas.spec b/atlas.spec index 67eb36f..95dac87 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 @@ -461,7 +461,7 @@ p=$(pwd) %if "%{?enable_native_atlas}" != "0" %define threads_option %{nil} %define base_options %{nil} -%define flags %{nil} +%define flags %{nil} %endif for type in %{types}; do @@ -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 11 2018 Jakub Martisko - 3.10.3-5 +- Pass RPM_LD_FLAGS to linker + * Thu Mar 01 2018 Jakub Martisko - 3.10.3-4 - Add gcc to buildrequires