wip: fixes

This commit is contained in:
Marcus Holland-Moritz 2025-07-26 03:07:19 +02:00
parent ae68f48acb
commit 5681c1d253
2 changed files with 7 additions and 7 deletions

View File

@ -228,7 +228,7 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
aarch64*) BOOST_CONTEXT_ARCH="arm64" ;;
esac
export TARGET="${CARCH}-unknown-linux-musl"
export TARGET="${CARCH}-alpine-linux-musl"
case "$CARCH" in
arm) export TARGET="arm-linux-musleabihf" ;;

View File

@ -3,7 +3,7 @@
set -ex
ARCH="$(uname -m)"
OPTIMIZE_STR="${1:-s}"
OPTIMIZE_STR="${1:-2}"
TARGET_ARCH_STR="${2:-$ARCH}"
BINUTILS_VERSION=2.44
@ -88,10 +88,10 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
export TARGETARCH="$target_arch"
TARGET="${TARGETARCH}-unknown-linux-musl"
TARGET="${TARGETARCH}-alpine-linux-musl"
CARCH="$TARGETARCH"
case "$CARCH" in
case "$TARGETARCH" in
aarch64*) CARCH="arm64" ;;
arm*) CARCH="arm" ;;
mips*) CARCH="mips" ;;
@ -101,14 +101,14 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
loongarch*) CARCH="loongarch" ;;
esac
case "$CARCH" in
case "$TARGETARCH" in
i386)
GCC_CONFIGURE_ARGS="--with-arch=i486 --with-tune=generic"
;;
aarch64)
aarch64*)
GCC_CONFIGURE_ARGS="--with-arch=armv8-a --with-abi=lp64"
;;
arm)
arm*)
GCC_CONFIGURE_ARGS="--with-arch=armv6 --with-fpu=vfp --with-float=hard"
TARGET="arm-linux-musleabihf"
;;