- pass CC,CFLAGS in siplib (there are some plain C files)
- added missing _REENTRANT in siplib
- release .7
Changed files:
sip.spec -> 1.34
Name: sip
Version: 3.11
%define _snap 20040218
-Release: 0.%{_snap}.6
+Release: 0.%{_snap}.7
License: GPL
Group: Development/Languages/Python
# Source0: http://www.river-bank.demon.co.uk/download/sip/%{name}-x11-gpl-%{version}.tar.gz
-d %{py_sitedir} \
-e %{py_incdir} \
-l qt-mt \
- LIBDIR_QT="%{_libdir}"
+ LIBDIR_QT="%{_libdir}" \
+ LIBDIR_X11="/usr/X11R6/%{_lib}"
%{__make} -C sipgen \
CC="%{__cc}" \
LINK="%{__cc}"
%{__make} -C siplib \
+ CC="%{__cc}" \
CXX="%{__cxx}" \
- CXXFLAGS="%{rpmcflags} -fPIC -pipe -w" \
+ CFLAGS="%{rpmcflags} -fPIC -pipe -w -D_REENTRANT" \
+ CXXFLAGS="%{rpmcflags} -fPIC -pipe -w -D_REENTRANT" \
LINK="%{__cxx}"
%install