aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-07 20:26:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-07 20:26:59 -0700
commit272add7aa25cdc254152ddebeae598d9e8c896d7 (patch)
treeb3c072f756da39f158ffbbc5f21398aa0067068e /tools/shared.py
parenta694963fb65ab94bd12c13ca2de02f8dea5a218f (diff)
add some cpu undefs that are important for configure steps
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 2e11d736..f0e480eb 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -579,7 +579,7 @@ if USE_EMSDK:
'-Xclang', '-isystem' + path_from_root('system', 'include', 'net'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'SDL'),
] + [
- '-U__APPLE__', '-U__linux__'
+ '-U__APPLE__', '-U__linux__', '-U__MMX__', '-U__SSE__', '-U__SSE2__'
]
if LLVM_TARGET != 'le32-unknown-nacl':
EMSDK_CXX_OPTS = ['-nostdinc++'] # le32 target does not need -nostdinc++