diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-27 15:22:05 -0700 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-27 15:22:05 -0700 |
commit | 2aff319609a3c54ac18c3ba27259420b5931aa0f (patch) | |
tree | 6ab683c222fda37726f8f6587612549ecad0a0dc | |
parent | e88277692926ab32557f54337e70fdc25cda91fe (diff) | |
parent | b20f9e0f4508c4b64cbdf8f9efc8642e7b3780f9 (diff) |
Merge pull request #478 from juj/nostdinc
Clang++ reports warning "argument unused during compilation '-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 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 |