|
|
@@ -23,9 +23,6 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
-#FIXME: ms Unreproducible building by hand. Can this be a new gcc limitation?
|
|
|
-#FIXME: thl dv1:/cw/bin/gcc 3.2.1-20021125 OK
|
|
|
-#FIXME: thl dv1:/cw/bin/gcc 3.2.1-20030109 FAILURE
|
|
|
# package information
|
|
|
Name: python
|
|
|
Summary: The Python Programming Language
|
|
|
@@ -36,7 +33,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
|
License: GPL
|
|
|
Version: 2.2.2
|
|
|
-Release: 20021015
|
|
|
+Release: 20030114
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.python.org/pub/python/%{version}/Python-%{version}.tgz
|
|
|
@@ -61,11 +58,13 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n Python-%{version}
|
|
|
+ %{l_shtool} subst -e 's;-O3;-O2;g' configure
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CXX="%{l_cxx}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
+ CXXFLAGS="%{l_cxxflags -O}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix}
|
|
|
%{l_make} %{l_mflags -O}
|