From 0cd526ef58bedbebb2a5547a78a8c430c84cb2a9 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 25 Apr 2009 18:22:27 +0000 Subject: [PATCH] Don't try to use x87 assembly on OS X universal builds. --- Include/pymacconfig.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h index 3a3428c05a9..a452836e329 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__)