diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:51:21 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:51:21 +0700 |
commit | 054ea0065886ebc8bff8132c5d81182f847bbb8e (patch) | |
tree | f6628e999511b49a87a30409ef2b17c738fff1b0 | |
parent | 2d90a3963ef641d576103eeb885fe1617f04b5e0 (diff) |
Remove unnecessary x86_64 and x87 undefines.
These aren't defined for our target in the first place, so we
don't need to undefine them.
-rw-r--r-- | tools/shared.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py index 4d12e33a..f59ac9c5 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -399,8 +399,9 @@ 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', '-Ui386', '-Ux86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', - '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__', '-U__CYGWIN__', +COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-U__i386__', '-U__i386', '-Ui386', + '-U__SSE__', '-U__SSE_MATH__', '-U__SSE2__', '-U__SSE2_MATH__', '-U__MMX__', + '-DEMSCRIPTEN', '-U__STRICT_ANSI__', '-U__CYGWIN__', '-target', 'i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN', '-fno-math-errno'] USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') |