aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-08-16 12:59:05 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-08-16 18:04:54 +0700
commit10d1cb9f3e515778e7841b61df4c6ad94c3d8352 (patch)
treec7b3f40f6e6ab7ea752886d9a1a2c441816fb5dc /tools
parent4e0c5a89b387d5f4ca8248c8b31e2db136652a64 (diff)
Add compat headers, move some things to them.
This is groundwork for landing musl includes which remove some of the deprecated functions or very old BSDisms.
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 917f548e..0d0f20d4 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -550,6 +550,7 @@ if USE_EMSDK:
# allows projects to override them)
EMSDK_OPTS = ['-nostdinc', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdsysteminc',
'-Xclang', '-isystem' + path_from_root('system', 'local', 'include'),
+ '-Xclang', '-isystem' + path_from_root('system', 'include', 'compat'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'libcxx'),
'-Xclang', '-isystem' + path_from_root('system', 'include'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'emscripten'),