[libc-commits] [libc] [libc] Allow libc to build on Red Hat (PR #83517)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Feb 29 18:37:54 PST 2024
================
@@ -167,13 +167,13 @@ if(LIBC_TARGET_OS STREQUAL "baremetal")
set(LIBC_TARGET_OS_IS_BAREMETAL TRUE)
elseif(LIBC_TARGET_OS STREQUAL "linux")
set(LIBC_TARGET_OS_IS_LINUX TRUE)
-elseif(LIBC_TARGET_OS STREQUAL "poky" OR LIBC_TARGET_OS STREQUAL "suse")
- # poky are ustom Linux-base systems created by yocto. Since these are Linux
+elseif(LIBC_TARGET_OS STREQUAL "poky" OR LIBC_TARGET_OS STREQUAL "suse" OR LIBC_TARGET_OS STREQUAL "redhat")
----------------
jhuber6 wrote:
```suggestion
elseif(LIBC_TARGET_OS STREQUAL "poky" OR LIBC_TARGET_OS STREQUAL "suse" OR
LIBC_TARGET_OS STREQUAL "redhat")
```
We at least make an attempt to keep the CMake within 80 columns, sometimes unsuccessfully.
https://github.com/llvm/llvm-project/pull/83517
More information about the libc-commits
mailing list