1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/gcc: disable GDC on all PowerPC variants, update comment

I have sunk some time into trying to build GDC and libphobos (the D
standard library) for ppc64le, because I thought the GDC source code
supported it. Quoting the relevant GCC-internal variable might save the
next person some time.

Consistency between different PowerPC subarchitectures might also save some
time and prevent some confusion.
This commit is contained in:
J. Neuschäfer 2025-07-04 06:26:12 +02:00 committed by achill (fossdd)
parent b2b7bf512c
commit b5d8ea6103

View file

@ -116,10 +116,10 @@ else
fi
case "$CTARGET_ARCH" in
# GDC hasn't been ported to PowerPC
# GDC hasn't been ported to PowerPC (LIBDRUNTIME_ONLY=yes)
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc*|riscv64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383