summaryrefslogtreecommitdiff
path: root/data/python
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/python
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
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
Diffstat (limited to 'data/python')
-rw-r--r--data/python/common.diff2
-rw-r--r--data/python/make.sh4
2 files changed, 3 insertions, 3 deletions
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_