disable only the hurting compile flag Modified Files: ogdi.spec

epel9
Balint Cristian 18 years ago
parent fcc8cbd785
commit 6767e5dc3b

@ -1,6 +1,6 @@
Name: ogdi
Version: 3.2.0
Release: 0.3.beta1%{?dist}
Release: 0.4.beta1%{?dist}
Summary: Open Geographic Datastore Interface
Group: Applications/Engineering
License: BSD-like
@ -62,8 +62,9 @@ cp -p %{SOURCE1} .
TOPDIR=`pwd`; TARGET=Linux; export TOPDIR TARGET
INST_LIB=%{_libdir}/;export INST_LIB
# do not compile with ssp. it will trigger internal bugs (mustfixupstream)
export CFLAGS="-g3 -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO"
# do not compile with ssp. it will trigger internal bugs (to_fix_upstream)
OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
export CFLAGS="$OPT_FLAGS -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO"
%configure \
--with-binconfigs \
--with-expat \
@ -150,6 +151,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/%{name}/libecs_tcl.so
%changelog
* Thu Mar 01 2007 Balint Cristian <cbalint@redhat.com> 3.2.0-0.4.beta1
- disable only the hurting flag
* Thu Mar 01 2007 Balint Cristian <cbalint@redhat.com> 3.2.0-0.3.beta1
- disable fedora specific compile flags to avoid internal bugs

Loading…
Cancel
Save