aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-27 15:22:05 -0700
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-27 15:22:05 -0700
commit2aff319609a3c54ac18c3ba27259420b5931aa0f (patch)
tree6ab683c222fda37726f8f6587612549ecad0a0dc /tools/shared.py
parente88277692926ab32557f54337e70fdc25cda91fe (diff)
parentb20f9e0f4508c4b64cbdf8f9efc8642e7b3780f9 (diff)
Merge pull request #478 from juj/nostdinc
Clang++ reports warning "argument unused during compilation '-nostdinc++'.
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 cdaf2f22..e6c0163c 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -198,7 +198,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', '-nostdinc++', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdinc++', '-Xclang', '-nostdsysteminc',
+ EMSDK_OPTS = ['-nostdinc', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdinc++', '-Xclang', '-nostdsysteminc',
'-Xclang', '-isystem' + path_from_root('system', 'include'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'emscripten'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'bsd'), # posix stuff