1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

Toolchain: Add SerenityOS to the LLVM config.guess

This commit is contained in:
Tim Schumacher 2021-11-10 03:29:21 +01:00 committed by Linus Groh
parent bb39f70efc
commit 24987e2b1f
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,23 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <timschumi@gmx.de>
Date: Wed, 10 Nov 2021 03:29:21 +0100
Subject: [PATCH] Add SerenityOS to config.guess
---
llvm/cmake/config.guess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/llvm/cmake/config.guess b/llvm/cmake/config.guess
index 60d3f588d6f7e8b341b47b7b379a6b5be299b4b6..bdbd1e323d95a73307cf7f8188ca3c419cd8c0e8 100644
--- a/llvm/cmake/config.guess
+++ b/llvm/cmake/config.guess
@@ -816,6 +816,9 @@ EOF
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
+ *:SerenityOS:*:*)
+ echo ${UNAME_MACHINE}-pc-serenity
+ exit ;;
*:Interix*:*)
case ${UNAME_MACHINE} in
x86)