Really (hopefull) fix LDFLAGS

This commit is contained in:
Orion Poplawski 2015-03-17 20:14:42 -06:00
parent 07e786d087
commit 842f4fa5c1

View File

@ -127,10 +127,10 @@ mkdir _mt
cp -pr mpich openmpi _mt/
%build
export LDFLAGS="-L%{_libdir}/atlas"
export FCFLAGS=-ffree-line-length-none
%{_mpich_load}
export LDFLAGS="-L%{_libdir}/atlas"
export LDFLAGS="$LDFLAGS -L$MPI_LIB"
pushd mpich
%configure_in \
@ -156,6 +156,7 @@ unset LDFLAGS
%{_mpich_unload}
%{_openmpi_load}
export LDFLAGS="-L%{_libdir}/atlas"
export LDFLAGS="$LDFLAGS -L$MPI_LIB"
pushd openmpi
%configure_in \