diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2023-08-08 21:43:00 +0000 |
|---|---|---|
| committer | Guillaume Chatelet <gchatelet@google.com> | 2023-08-09 07:31:59 +0000 |
| commit | 6632b2584159ef0668a9a84dde6907b3d6f8e701 (patch) | |
| tree | d94687074b80707578d6c3f28b0d815ec4109928 /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 52aa6bd3fd6f48f583beaadcbb53edc0f3def4a1 (diff) | |
| download | llvm-6632b2584159ef0668a9a84dde6907b3d6f8e701.zip llvm-6632b2584159ef0668a9a84dde6907b3d6f8e701.tar.gz llvm-6632b2584159ef0668a9a84dde6907b3d6f8e701.tar.bz2 | |
[libc] Make add_libc_unittest compile with -ffreestanding
tests not compile with `-ffreestanding` can pull unwanted dependencies like `limits.h` which defines `PTHREAD_STACK_MIN`.
This is what caused the build bot failure in https://reviews.llvm.org/D156981#4570776.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D157444
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
