From: Rainer Orth Date: Tue, 1 Jul 2025 08:22:06 +0000 (+0200) Subject: libphobos: Fully enable Darwin/i386 support X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d26f11e46840a1870e3316dc98ddbffceac3f92b;p=thirdparty%2Fgcc.git 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. --- 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*)