diff options
Diffstat (limited to 'tools/shared.py')
-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 bd0e2191..b5903bfe 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -29,15 +29,16 @@ 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__', '-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'] if USE_EMSDK: COMPILER_OPTS += [ '-nostdinc', '-I' + path_from_root('system', 'include'), - '-I' + path_from_root('system', 'include', 'freebsd'), # posix stuff + '-I' + path_from_root('system', 'include', 'bsd'), # posix stuff '-I' + path_from_root('system', 'include', 'libc'), '-I' + path_from_root('system', 'include', 'libcxx'), '-I' + path_from_root('system', 'include', 'net'), + '-I' + path_from_root('system', 'include', 'SDL'), ] # Engine tweaks |