diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:44:54 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:44:54 +0700 |
commit | 2d90a3963ef641d576103eeb885fe1617f04b5e0 (patch) | |
tree | 632ea496d33afba4fa8dbd241eed6b8edb879099 | |
parent | 13f35d0bc636c39003876b6af180db726529fe37 (diff) |
__STDC__ is already defined by clang.
-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 80f44328..4d12e33a 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -401,7 +401,7 @@ except: # 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__', - '-D__STDC__', '-target', 'i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN', '-fno-math-errno'] + '-target', 'i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN', '-fno-math-errno'] USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') |