Use LIBS instead of LDFLAGS for -ltirpc

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

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

Loading…
Cancel
Save