diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 18:52:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 18:52:11 -0700 |
commit | b39f292894423f48fcc851d3da36a506de44d9a0 (patch) | |
tree | 069d1473abe45f6c2d15cd449daa63a19e5a3c64 | |
parent | ce253d943aeeecc3b7cc89bc36d6764b8e111d22 (diff) |
undefine __STRICT_ANSI__
-rw-r--r-- | tools/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 8663d606..3601b9b3 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -29,7 +29,8 @@ EXEC_LLVM = path_from_root('tools', 'exec_llvm.py') USE_EMSDK = True -COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-v', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN'] +COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-v', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', + '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__'] if USE_EMSDK: COMPILER_OPTS += [ '-nostdinc', |