1
0
Files
gcc-14/debian/patches/libphobos-ppc64el.diff
Konstantin Demin e7e0fc078c sync with Debian
version: 14.3.0-7 (UNRELEASED)
commit: 39ea76304d57617bd92674237f1fc91c5c12ccd5
2025-09-07 18:09:24 +03:00

21 lines
465 B
Diff

# DP: build libphobos on ppc64el when configured --with-long-double-format=ieee
--- a/src/libphobos/configure.tgt
+++ b/src/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