We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5860e95 commit bceb24dCopy full SHA for bceb24d
src/xinterpreter.cpp
@@ -45,6 +45,12 @@ void* createInterpreter(const Args &ExtraArgs = {}) {
45
ClangArgs.push_back("-isystem");
46
ClangArgs.push_back(CxxInclude.c_str());
47
}
48
+
49
+#ifdef __EMSCRIPTEN__
50
+ ClangArgs.push_back("-Xclang");
51
+ ClangArgs.push_back("-iwithsysroot/include/compat");
52
+#endif
53
54
ClangArgs.insert(ClangArgs.end(), ExtraArgs.begin(), ExtraArgs.end());
55
// FIXME: We should process the kernel input options and conditionally pass
56
// the gpu args here.
0 commit comments