diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:41:52 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-17 17:41:52 +0700 |
commit | 13f35d0bc636c39003876b6af180db726529fe37 (patch) | |
tree | b06f801603dcc4845d0de679bc4ab2014fffe851 /tools/shared.py | |
parent | 7df317fe4bb814f7deffc75c2c9b86663aefb7e7 (diff) |
Remove flags for disabling ms-compatibility.
With the use of -target rather than -triple, these are no longer
needed.
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/shared.py b/tools/shared.py index 2eca5742..80f44328 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -399,13 +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 -# -fno-ms-compatibility is passed, since on Windows, Clang enables a 'MS compatibility mode' by default, that disables char16_t and char32_t -# to be MSVC header -compatible. This would cause build errors in libcxx file __config. -# -fno-delayed-template-parsing is needed on Windows due to http://llvm.org/PR15651 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', - '-fno-ms-compatibility', '-fno-delayed-template-parsing'] + '-D__STDC__', '-target', 'i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN', '-fno-math-errno'] USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') |