diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-02-08 00:01:16 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-02-08 00:08:16 +0200 |
commit | 4897a6512b5e4dbd06a02ca2a82a6e027261666a (patch) | |
tree | 795fb72806d89c564c7fa84377c28afeaf383769 | |
parent | 66b2ed22f922c6b433f46ba7c7bdd9d9f40f0bc4 (diff) | |
download | 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.
-rw-r--r-- | main/gcc/APKBUILD | 2 |
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 |