Build libphobos on ppc64el when configured --with-long-double-format=ieee

Ok for the trunk and the active branches?

For a bootstrap, you still need to build a GCC 11 with that patch, and then build a newer GCC using with it.

Matthias
build libphobos on ppc64el when configured --with-long-double-format=ieee

--- a/libphobos/configure.tgt
+++ b/libphobos/configure.tgt
@@ -48,6 +48,15 @@
   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

Reply via email to