[libc-commits] [libc] [libc] Fix missing sysroot path for kernel headers when crosscompiling (PR #99588)
Mikhail R. Gadelha via libc-commits
libc-commits at lists.llvm.org
Thu Oct 3 11:15:28 PDT 2024
mikhailramalho wrote:
> So when cross compiling, we should only look at the sysroot, and not /usr/include, right?
IIUC, we need to add the `$sysroot/usr/include` explicitly because we add `-nostdlibinc` by default.
https://github.com/llvm/llvm-project/pull/99588
More information about the libc-commits
mailing list