Commit 43bd7e3
authored
[Runtimes][libc] Include kernel headers when using RUNTIMES_USE_LIBC
When setting RUNTIMES_USE_LIBC=libc we pass -nostdlibinc if the compiler
supports it. This causes compilation failures when trying to build
libc++ as libc will try and reference kernel headers in its own headers
that it now cannot find. Explicitly reference the kernel headers so the
compiler can find them.
Reviewers: vonosmas, petrhosek, #reviewers-libcxx, michaelrj-google
Reviewed By: michaelrj-google
Pull Request: #1651141 parent e7a23c4 commit 43bd7e3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments