- fix incomplete compiler/linked flag injection (#1560546)

epel9
Dan Horák 7 years ago
parent 507c287eb2
commit 49dd52c131

@ -1,6 +1,6 @@
Name: ogdi
Version: 3.2.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Open Geographic Datastore Interface
Group: Applications/Engineering
License: BSD
@ -85,18 +85,21 @@ export CFLAGS="$OPT_FLAGS -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO"
# WARNING !!!
# using %{?_smp_mflags} may break build
make
make \
COMMON_LDFLAGS="%{__global_ldflags}"
# build tcl interface
make -C ogdi/tcl_interface \
COMMON_LDFLAGS="%{__global_ldflags}" \
TCL_LINKLIB="-ltcl"
# build contributions
make -C contrib/gdal
make -C contrib/gdal \
COMMON_LDFLAGS="%{__global_ldflags}"
# build odbc drivers
ODBC_LINKLIB="-lodbc"
make -C ogdi/attr_driver/odbc \
COMMON_LDFLAGS="%{__global_ldflags}" \
ODBC_LINKLIB="-lodbc"
@ -185,6 +188,9 @@ touch -r ogdi-config.in %{buildroot}%{_bindir}/%{name}-config
%changelog
* Tue Mar 27 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-6
- fix incomplete compiler/linked flag injection (#1560546)
* Thu Mar 15 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-5
- adapt to https://fedoraproject.org/wiki/Changes/SunRPCRemoval (#1556614)

Loading…
Cancel
Save