aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-11-14 22:11:06 -0700
committerAriadne Conill <ariadne@dereferenced.org>2020-11-14 22:11:30 -0700
commit1228b78846873dca91ca2a747db190284fa4f879 (patch)
treec9a0208c9ce91cc4da753e92edd6f3d04c85ffd5
parentc65e34d0b80d17036ce1aad68cc49823737978eb (diff)
downloadaports-1228b78846873dca91ca2a747db190284fa4f879.tar.gz
aports-1228b78846873dca91ca2a747db190284fa4f879.tar.bz2
aports-1228b78846873dca91ca2a747db190284fa4f879.tar.xz
main/gcc: disable go on mips64 due to libffi FTBFS
-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