From d699a01fabaa04a1aad60f6ca5777f82ee24839a Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sun, 6 Apr 2008 10:28:29 +0000 Subject: Drastic, sweeping modifications to support iPhone 1.2.0/2.0. git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d --- data/python/common.diff | 2 +- data/python/make.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'data/python') diff --git a/data/python/common.diff b/data/python/common.diff index fee4dd829..64f9eb4f2 100644 --- a/data/python/common.diff +++ b/data/python/common.diff @@ -6,7 +6,7 @@ diff -r -u Python-2.5.1/configure.in Python-2.5.1+iPhone/configure.in # is there any other compiler on Darwin besides gcc? Darwin*) - BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd" -+ BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common" ++ BASECFLAGS="$BASECFLAGS -no-cpp-precomp -fno-common" if test "${enable_universalsdk}"; then BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}" fi diff --git a/data/python/make.sh b/data/python/make.sh index 2dc8c68c6..059937971 100644 --- a/data/python/make.sh +++ b/data/python/make.sh @@ -7,13 +7,13 @@ cp -a python{,_} sleep 10 pkg:patch autoconf -SO=.dylib CXX=arm-apple-darwin-g++ pkg:configure --enable-shared --with-system-ffi --with-signal-module --disable-toolbox-glue +SO=.dylib CXX=${PKG_TARG}-g++ pkg:configure --enable-shared --with-system-ffi --with-signal-module --disable-toolbox-glue make clean rm libpython2.5.a #make Include/graminit.h Python/graminit.c CC=gcc BASECFLAGS= #cp -a Parser/pgen pgen-host #make clean -make python AR=arm-apple-darwin-ar +make python AR=${PKG_TARG}-ar sleep 2 touch python_ make BUILDPYTHON=python_ -- cgit v1.2.3