mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
scripts/bootstrap.sh: add libucontext to depends of full cross gcc
the GDC frontend requires GDC to build since GCC 12, and libucontext is required by GDC
This commit is contained in:
parent
12faa27b1c
commit
6cce1d0007
@ -92,8 +92,13 @@ if ! CHOST=$TARGET_ARCH BOOTSTRAP=nolibc APKBUILD=$(apkbuildname musl) abuild up
|
||||
CHOST=$TARGET_ARCH BOOTSTRAP=nolibc APKBUILD=$(apkbuildname musl) abuild -r
|
||||
fi
|
||||
|
||||
# Full cross GCC
|
||||
# Build libucontext without docs and pkgconfig file as a dependency for gcc-gdc
|
||||
EXTRADEPENDS_BUILD="gcc-pass2-$TARGET_ARCH" \
|
||||
EXTRADEPENDS_TARGET="musl musl-dev" \
|
||||
CHOST=$TARGET_ARCH BOOTSTRAP=nobase APKBUILD=$(apkbuildname libucontext) abuild -r
|
||||
|
||||
# Full cross GCC
|
||||
EXTRADEPENDS_TARGET="musl musl-dev libucontext-dev" \
|
||||
CTARGET=$TARGET_ARCH BOOTSTRAP=nobase APKBUILD=$(apkbuildname gcc) abuild -r
|
||||
|
||||
# Cross build-base
|
||||
|
Loading…
Reference in New Issue
Block a user