aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-02-08 00:01:16 +0200
committerTimo Teräs <timo.teras@iki.fi>2020-02-08 00:08:16 +0200
commit4897a6512b5e4dbd06a02ca2a82a6e027261666a (patch)
tree795fb72806d89c564c7fa84377c28afeaf383769 /main/gcc/APKBUILD
parent66b2ed22f922c6b433f46ba7c7bdd9d9f40f0bc4 (diff)
downloadaports-4897a6512b5e4dbd06a02ca2a82a6e027261666a.tar.gz
aports-4897a6512b5e4dbd06a02ca2a82a6e027261666a.tar.bz2
aports-4897a6512b5e4dbd06a02ca2a82a6e027261666a.tar.xz
main/gcc: disable D for cross-compiler
Building cross-compiler fails: libtool: link: cannot find the library `../../libatomic/libatomic_convenience.la' or unhandled argument `../../libatomic/libatomic_convenience.la' make[4]: *** [Makefile:1694: libgdruntime.la] Error 1 make[4]: Leaving directory '/home/tteras/aports/main/gcc/src/build-cross-final/aarch64-alpine-linux-musl/libphobos/libdruntime' make[3]: *** [Makefile:473: all-recursive] Error 1 make[3]: Leaving directory '/home/tteras/aports/main/gcc/src/build-cross-final/aarch64-alpine-linux-musl/libphobos' make[2]: *** [Makefile:400: all] Error 2 make[2]: Leaving directory '/home/tteras/aports/main/gcc/src/build-cross-final/aarch64-alpine-linux-musl/libphobos' make[1]: *** [Makefile:13537: all-target-libphobos] Error 2 make[1]: *** Waiting for unfinished jobs.... Possibly related to disabling libatomic when building cross-compiler.
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 7b78c28162..349e31d98e 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -34,7 +34,6 @@ _libitm=true
if [ "$CHOST" != "$CTARGET" ]; then
if [ "$BOOTSTRAP" = nolibc ]; then
LANG_CXX=false
- LANG_D=false
LANG_ADA=false
_libgcc=false
_builddir="$srcdir/build-cross-pass2"
@@ -44,6 +43,7 @@ if [ "$CHOST" != "$CTARGET" ]; then
LANG_OBJC=false
LANG_GO=false
LANG_FORTRAN=false
+ LANG_D=false
_libgomp=false
_libatomic=false
_libitm=false