From d26f11e46840a1870e3316dc98ddbffceac3f92b Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 1 Jul 2025 10:22:06 +0200 Subject: [PATCH] libphobos: Fully enable Darwin/i386 support I recently noticed that libphobos isn't enable by default on 32-bit Darwin with the target triples determined by config.guess. E.g. on a Darwin 15 system the target triple is something like i386-apple-darwin15.6.0 while configure.tgt only matches i?86-*-darwin1[2-7]. This patch also allows such minor and micro versions. Tested on i386-apple-darwin15.6.0. 2025-06-30 Rainer Orth libphobos: * configure.tgt : Also consider minor versions supported. --- libphobos/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 76c09c4640d..fb671838d9d 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -64,7 +64,7 @@ case "${target}" in *-*-darwin9* | *-*-darwin1[01]*) LIBDRUNTIME_ONLY=yes ;; - x86_64-*-darwin1[2-9]* | x86_64-*-darwin2* | i?86-*-darwin1[2-7]) + x86_64-*-darwin1[2-9]* | x86_64-*-darwin2* | i?86-*-darwin1[2-7]*) LIBPHOBOS_SUPPORTED=yes ;; x86_64-*-freebsd* | i?86-*-freebsd*) -- 2.47.2