summaryrefslogtreecommitdiff
path: root/data/python/common.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/python/common.diff')
-rw-r--r--data/python/common.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/python/common.diff b/data/python/common.diff
new file mode 100644
index 000000000..fee4dd829
--- /dev/null
+++ b/data/python/common.diff
@@ -0,0 +1,12 @@
+diff -r -u Python-2.5.1/configure.in Python-2.5.1+iPhone/configure.in
+--- Python-2.5.1/configure.in 2007-03-12 10:50:51.000000000 +0000
++++ Python-2.5.1+iPhone/configure.in 2008-01-09 12:10:16.000000000 +0000
+@@ -814,7 +816,7 @@
+ ;;
+ # 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"
+ if test "${enable_universalsdk}"; then
+ BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
+ fi