summaryrefslogtreecommitdiff
path: root/data/python
diff options
context:
space:
mode:
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_