- drop the -D_FORTIFY_SOURCE removal from preprocessor flags (#1560546)

epel9
Dan Horák 7 years ago
parent 49dd52c131
commit 47cdc62088

@ -1,6 +1,6 @@
Name: ogdi Name: ogdi
Version: 3.2.0 Version: 3.2.0
Release: 6%{?dist} Release: 7%{?dist}
Summary: Open Geographic Datastore Interface Summary: Open Geographic Datastore Interface
Group: Applications/Engineering Group: Applications/Engineering
License: BSD License: BSD
@ -74,9 +74,9 @@ TOPDIR=`pwd`; TARGET=Linux; export TOPDIR TARGET
INST_LIB=%{_libdir}/;export INST_LIB INST_LIB=%{_libdir}/;export INST_LIB
export CFG=debug # for -g export CFG=debug # for -g
# do not compile with ssp. it will trigger internal bugs (to_fix_upstream) # removal of -D_FORTIFY_SOURCE from preprocessor flags seems not needed any more
OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'` # ogdits-3.1 test suite produces same result with and without the flag
export CFLAGS="$OPT_FLAGS -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO" export CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO"
%configure CPPFLAGS=-I/usr/include/tirpc \ %configure CPPFLAGS=-I/usr/include/tirpc \
--with-binconfigs \ --with-binconfigs \
--with-expat \ --with-expat \
@ -188,6 +188,9 @@ touch -r ogdi-config.in %{buildroot}%{_bindir}/%{name}-config
%changelog %changelog
* Thu Mar 29 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-7
- drop the -D_FORTIFY_SOURCE removal from preprocessor flags (#1560546)
* Tue Mar 27 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-6 * Tue Mar 27 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-6
- fix incomplete compiler/linked flag injection (#1560546) - fix incomplete compiler/linked flag injection (#1560546)

Loading…
Cancel
Save