Set CFLAGS and CXXFLAGS variables to

This commit is contained in:
Jan Horak 2010-03-16 06:50:33 +00:00
commit cc108cb7bb

View file

@ -5,7 +5,7 @@
Summary: Python interface for mozilla XPCOM library
Name: xulrunner-python
Version: 1.9.2
Release: 2.%{hgver}%{?dist}
Release: 3.%{hgver}%{?dist}
URL: http://developer.mozilla.org/en/PyXPCOM
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@ -46,7 +46,10 @@ autoconf-2.13
#---------------------------------------------------------------------
%build
cd %{objdir}
export CFLAGS=$RPM_OPT_FLAGS
export CXXFLAGS=$RPM_OPT_FLAGS
cd %{objdir}
../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \
--with-system-nspr \
--prefix=%{_prefix} \
@ -121,6 +124,9 @@ popd
#---------------------------------------------------------------------
%changelog
* Tue Mar 16 2010 Jan Horak <jhorak@redhat.com> - 1.9.2.3.20100111hg
- Set CFLAGS and CXXFLAGS variables to $RPM_OPT_FLAGS
* Wed Nov 25 2009 Martin Stransky <stransky@redhat.com> 1.9.2-2.20100111hg
- created as standalone package