[PATCH 46/94] cmake.eclass: Add Hurd support
Sam James <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <afbef0ab74af6ac6f2d68c96eb556327fda0307f.1774994325.git.sam@gentoo.org> |
From: Christopher Fore <[email protected]> On CMake, `GNU` is the sysname for Hurd. https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html#system-names-known-to-cmake Signed-off-by: Christopher Fore <[email protected]> Signed-off-by: Sam James <[email protected]> --- eclass/cmake.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 643370f535360..5ea90aa4da24a 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -601,6 +601,7 @@ cmake_src_configure() { case "${KERNEL:-linux}" in Cygwin) sysname="CYGWIN_NT-5.1" ;; HPUX) sysname="HP-UX" ;; + Hurd) sysname="GNU" ;; linux) sysname="Linux" ;; Winnt) sysname="Windows" -- 2.53.0