https://gcc.gnu.org/g:d26f11e46840a1870e3316dc98ddbffceac3f92b

commit r16-1841-gd26f11e46840a1870e3316dc98ddbffceac3f92b
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Tue Jul 1 10:22:06 2025 +0200

    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  <r...@cebitec.uni-bielefeld.de>
    
            libphobos:
            * configure.tgt <i?86-*-darwin1[2-7]>: Also consider minor
            versions supported.

Diff:
---
 libphobos/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt
index 76c09c4640dd..fb671838d9df 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*)

Reply via email to