diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-30 17:11:35 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-30 17:11:35 -0700 |
commit | 50c04c47db09205375f5c281a96e4bb6f3df0bd3 (patch) | |
tree | 42056178cd75cf5832b81c1bc5ce072a18b825c3 | |
parent | c99afc04fe74867e18734431a2468168073b09f9 (diff) |
fix -nostdinc++
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 6a0ca026..55224ebb 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -384,7 +384,7 @@ USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') if USE_EMSDK: # Disable system C and C++ include directories, and add our own (using -idirafter so they are last, like system dirs, which # allows projects to override them) - EMSDK_OPTS = ['-nostdinc', '-Xclang', '-nostdinc++', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdsysteminc', + EMSDK_OPTS = ['-nostdinc', '-nostdinc++', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdsysteminc', '-Xclang', '-isystem' + path_from_root('system', 'local', 'include'), '-Xclang', '-isystem' + path_from_root('system', 'include', 'libcxx'), '-Xclang', '-isystem' + path_from_root('system', 'include'), |