[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] config.guess: detect LLVM-libc via features.h
From: |
Alfred Persson Forsberg |
Subject: |
[PATCH 2/2] config.guess: detect LLVM-libc via features.h |
Date: |
Thu, 19 Oct 2023 20:55:42 +0200 |
* config.guess (__LLVM_LIBC__): Recognize.
* doc/config.guess.1: Regenerate
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
---
config.guess | 4 +++-
doc/config.guess.1 | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/config.guess b/config.guess
index b187213..3e6e31e 100755
--- a/config.guess
+++ b/config.guess
@@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2023-07-20'
+timestamp='2023-10-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -162,6 +162,8 @@ Linux|GNU|GNU/*)
LIBC=dietlibc
#elif defined(__GLIBC__)
LIBC=gnu
+ #elif defined(__LLVM_LIBC__)
+ LIBC=llvm
#else
#include <stdarg.h>
/* First heuristic to detect musl libc. */
diff --git a/doc/config.guess.1 b/doc/config.guess.1
index 17482f7..474727e 100644
--- a/doc/config.guess.1
+++ b/doc/config.guess.1
@@ -1,5 +1,5 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
-.TH CONFIG.GUESS "1" "July 2023" "GNU config.guess (2023-07-20)" "User
Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
+.TH CONFIG.GUESS "1" "October 2023" "GNU config.guess (2023-10-19)" "User
Commands"
.SH NAME
config.guess \- guess the build system triplet
.SH SYNOPSIS
--
2.42.0