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

commit r13-8590-gfe805c444cc9c6a5f21cf55ff51775d4c0b5fa00
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Mon Apr 1 13:58:20 2024 +0100

    libphobos, Darwin: Enable libphobos for most Darwin.
    
    Earlier Darwin systems can be made to work too - but they need non-
    standard 'binutils', so for now these must be enabled specifically.
    
    libphobos/ChangeLog:
    
            * configure.tgt: Enable libphobos for Darwin >= 12.
    
    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

Diff:
---
 libphobos/configure.tgt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt
index 1f21f63620c..65fba8f8cbe 100644
--- a/libphobos/configure.tgt
+++ b/libphobos/configure.tgt
@@ -27,6 +27,9 @@ case "${target}" in
   *-*-dragonfly*)
        LIBPHOBOS_SUPPORTED=yes
        ;;
+  aarch64-*-darwin2*)
+       LIBPHOBOS_SUPPORTED=yes
+       ;;
   aarch64*-*-linux*)
        LIBPHOBOS_SUPPORTED=yes
        ;;
@@ -55,6 +58,12 @@ case "${target}" in
   sparc*-*-solaris2.11*)
        LIBPHOBOS_SUPPORTED=yes
        ;;
+  *-*-darwin9* | *-*-darwin1[01]*)
+       LIBDRUNTIME_ONLY=yes
+       ;;
+  x86_64-*-darwin1[2-9]* | x86_64-*-darwin2* | i?86-*-darwin1[2-7])
+       LIBPHOBOS_SUPPORTED=yes
+       ;;
   x86_64-*-freebsd* | i?86-*-freebsd*)
        LIBPHOBOS_SUPPORTED=yes
        ;;

Reply via email to