diff options
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 5c19efa8..ba926f72 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -530,7 +530,10 @@ if USE_EMSDK: ] + [ '-U__APPLE__', '-U__linux__' ] - EMSDK_CXX_OPTS = ['-nostdinc++'] + if LLVM_TARGET != 'le32-unknown-nacl': + EMSDK_CXX_OPTS = ['-nostdinc++'] # le32 target does not need -nostdinc++ + else: + EMSDK_CXX_OPTS = [] COMPILER_OPTS += EMSDK_OPTS else: EMSDK_OPTS = [] |