diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-01 14:34:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-01 14:34:43 -0700 |
commit | 19d109d8eff8fe5a153d5b8536f3cbee7ac10557 (patch) | |
tree | ea196dd02452bc1a9047c1e89edd58674e85d72e /tools/shared.py | |
parent | ae08d741658d4c94e7e8bb4f8bfd429fe88784a2 (diff) |
do not use -nostdinc++ with le32 target at all, it does not need it, and add testing for no system c++ headers showing up in our path
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 = [] |