mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
an i386 based machine, but should only be active when compiling the x86 part of the universal binary.
This commit is contained in:
parent
187177fc55
commit
a254302f52
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
|
# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
|
||||||
# undef DOUBLE_IS_BIG_ENDIAN_IEEE754
|
# undef DOUBLE_IS_BIG_ENDIAN_IEEE754
|
||||||
# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
|
# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
|
||||||
|
# undef HAVE_GCC_ASM_FOR_X87
|
||||||
|
|
||||||
# undef VA_LIST_IS_ARRAY
|
# undef VA_LIST_IS_ARRAY
|
||||||
# if defined(__LP64__) && defined(__x86_64__)
|
# if defined(__LP64__) && defined(__x86_64__)
|
||||||
|
@ -79,6 +80,10 @@
|
||||||
#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754
|
#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754
|
||||||
#endif /* __BIG_ENDIAN */
|
#endif /* __BIG_ENDIAN */
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
# define HAVE_GCC_ASM_FOR_X87
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The definition in pyconfig.h is only valid on the OS release
|
* The definition in pyconfig.h is only valid on the OS release
|
||||||
* where configure ran on and not necessarily for all systems where
|
* where configure ran on and not necessarily for all systems where
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue