[libc-commits] [libc] [libc] Allow libc to build on Red Hat (PR #83517)
via libc-commits
libc-commits at lists.llvm.org
Thu Feb 29 18:39:33 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")
----------------
jameshu15869 wrote:
I tried to run `git clang-format` but it refused to format the file. I saw in `llvm/CMakeLists.txt` that some lines extended past 80 columns, so wasn't sure how to format the CMake file. I'll keep this in mind for the future.
https://github.com/llvm/llvm-project/pull/83517
More information about the libc-commits
mailing list