diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 16:46:47 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 16:46:47 -0700 |
commit | fc437084c77ad1ab578e3933c3b9f08ea20e2d59 (patch) | |
tree | 65ccf84eedefbd1ab57abeafdab74f646345609a /tools/shared.py | |
parent | ce6b7ea953dd0a974a0123e6674803a3b0b1f5a2 (diff) |
compilation and header fixes
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 |