aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 4b1d4a6580..a673112b28 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -100,6 +100,13 @@ arm*) _libitm=false ;;
mips*) _libitm=false ;;
esac
+# Internal libffi fails to build on MIPS at the moment, need to
+# investigate further. We disable LANG_GO on mips64 as it requires
+# the internal libffi.
+case "$CTARGET_ARCH" in
+mips*) LANG_GO=false ;;
+esac
+
# Fortran uses libquadmath if toolchain has __float128
# currently on x86, x86_64 and ia64
_libquadmath=$LANG_FORTRAN