summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-25 18:22:27 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-25 18:22:27 (GMT)
commit0cd526ef58bedbebb2a5547a78a8c430c84cb2a9 (patch)
tree700635376e41e02e5f78c38b4770de5c82ba3f0e
parent84c97afbf102ec163a34bea8f9a03ba7a539d927 (diff)
downloadcpython-0cd526ef58bedbebb2a5547a78a8c430c84cb2a9.zip
cpython-0cd526ef58bedbebb2a5547a78a8c430c84cb2a9.tar.gz
cpython-0cd526ef58bedbebb2a5547a78a8c430c84cb2a9.tar.bz2
Don't try to use x87 assembly on OS X universal builds.
-rw-r--r--Include/pymacconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h
index 3a3428c..a452836 100644
--- a/Include/pymacconfig.h
+++ b/Include/pymacconfig.h
@@ -20,6 +20,9 @@
# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
# undef DOUBLE_IS_BIG_ENDIAN_IEEE754
# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
+/* we don't ever need to play with the x87 control word on OS X/Intel, so just
+ pretend that we can't, to avoid problems on Intel+PPC builds */
+# undef HAVE_GCC_ASM_FOR_X87
# undef VA_LIST_IS_ARRAY
# if defined(__LP64__) && defined(__x86_64__)