aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Support/Fortran-features.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-11-01 12:50:41 -0700
committerGitHub <noreply@github.com>2025-11-01 12:50:41 -0700
commit43bd7e3bb903af5076a9552f4f64cfc5d58f76ce (patch)
tree75adb6c7cd3bcb9af14a14bccb4d791feb20a139 /flang/lib/Support/Fortran-features.cpp
parente7a23c4020840e8e0a2e7f535306cd08f3a8fced (diff)
downloadllvm-43bd7e3bb903af5076a9552f4f64cfc5d58f76ce.zip
llvm-43bd7e3bb903af5076a9552f4f64cfc5d58f76ce.tar.gz
llvm-43bd7e3bb903af5076a9552f4f64cfc5d58f76ce.tar.bz2
[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: https://github.com/llvm/llvm-project/pull/165114
Diffstat (limited to 'flang/lib/Support/Fortran-features.cpp')
0 files changed, 0 insertions, 0 deletions