[gcc r16-3635] libphobos: enable for powerpc64le-linux-gnu

Matthias Klose doko@gcc.gnu.org
Sun Sep 7 08:46:30 GMT 2025


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

commit r16-3635-gcd404684a966210c3443321716955f4aa0113e90
Author: Matthias Klose <doko@ubuntu.com>
Date:   Sun Sep 7 10:41:09 2025 +0200

    libphobos: enable for powerpc64le-linux-gnu
    
    libphobos/ChangeLog:
    
            * configure.tgt: Add powerpc64le-linux-gnu as a supported target
            when configured with --with-long-double-format=ieee.

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

diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt
index fb671838d9df..349aec7c6177 100644
--- a/libphobos/configure.tgt
+++ b/libphobos/configure.tgt
@@ -48,6 +48,15 @@ case "${target}" in
   power*-*-freebsd*)
 	LIBPHOBOS_SUPPORTED=yes
 	;;
+  powerpc64le-*linux*)
+	LIBPHOBOS_SUPPORTED=yes
+	case "$ac_configure_args" in
+	  *--with-long-double-format=ieee*)
+	    ;;
+	  *)
+	    LIBDRUNTIME_ONLY=yes
+	esac
+	;;
   power*-*-linux*)
 	LIBPHOBOS_SUPPORTED=yes
 	LIBDRUNTIME_ONLY=yes


More information about the Gcc-cvs mailing list