Use LIBS instead of LDFLAGS for -ltirpc

epel9
Orion Poplawski 6 years ago
parent 8174dd8556
commit 5a3082c485

@ -4,7 +4,7 @@
Name: hdf
Version: 4.2.13
Release: 10%{?dist}
Release: 11%{?dist}
Summary: A general purpose library and file format for storing scientific data
License: BSD
Group: System Environment/Libraries
@ -87,7 +87,7 @@ rm config/*linux-gnu
# Shared libraries disabled: libmfhdf.so is not correctly compiled
# for missing link to libdf.so
export CFLAGS="%{optflags} -fPIC -I%{_includedir}/tirpc"
export LDFLAGS="%{__global_ldflags} -ltirpc"
export LIBS="-ltirpc"
export FFLAGS="%{optflags} -fPIC -ffixed-line-length-none"
%configure --disable-production --disable-java --disable-netcdf \
--enable-shared=no --enable-static=yes --enable-fortran %{!?el6:--with-szlib} \
@ -150,6 +150,9 @@ make -j1 check
%{_defaultdocdir}/%{name}/examples
%changelog
* Sun Oct 7 2018 Orion Poplawski <orion@nwra.com> - 4.2.13-11
- Use LIBS instead of LDFLAGS for -ltirpc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.13-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save