diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-23 14:06:42 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-23 14:06:42 -0800 |
commit | 45469a91a85959999118399b0f8989d84e2c11bb (patch) | |
tree | 74440c2d72ec0ca1f76239fd1f9aecb7ecabaf46 /tools | |
parent | 160cc728e0839e441897d951fa61020bc2176717 (diff) |
undef i386 and x86_64, not just with __'s
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 72629131..d5340806 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -344,7 +344,7 @@ try: except: COMPILER_OPTS = [] # Force a simple, standard target as much as possible: target 32-bit linux, and disable various flags that hint at other platforms -COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', +COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-Ui386', '-Ux86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__', '-U__CYGWIN__', '-D__STDC__', '-Xclang', '-triple=i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN', '-fno-math-errno'] |