diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index ecb349712f6b..5fe0d3ce8e7b 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -95,11 +95,15 @@ else _builddir="$srcdir/build" fi +case "$CARCH" in # GDC hasn't been ported to PowerPC # See libphobos/configure.tgt in GCC sources for supported targets # riscv fails with: error: static assert "unimplemented" -case "$CARCH" in ppc64le|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 +armhf|armv7|x86) LANG_D=false ;; esac # libitm has TEXTRELs in ARM build, so disable for now