Skip to content

Commit 5681c1d

Browse files
committed
wip: fixes
1 parent ae68f48 commit 5681c1d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.docker/install-static-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
228228
aarch64*) BOOST_CONTEXT_ARCH="arm64" ;;
229229
esac
230230

231-
export TARGET="${CARCH}-unknown-linux-musl"
231+
export TARGET="${CARCH}-alpine-linux-musl"
232232

233233
case "$CARCH" in
234234
arm) export TARGET="arm-linux-musleabihf" ;;

.docker/install-toolchain.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -ex
44

55
ARCH="$(uname -m)"
6-
OPTIMIZE_STR="${1:-s}"
6+
OPTIMIZE_STR="${1:-2}"
77
TARGET_ARCH_STR="${2:-$ARCH}"
88

99
BINUTILS_VERSION=2.44
@@ -88,10 +88,10 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
8888

8989
export TARGETARCH="$target_arch"
9090

91-
TARGET="${TARGETARCH}-unknown-linux-musl"
91+
TARGET="${TARGETARCH}-alpine-linux-musl"
9292

9393
CARCH="$TARGETARCH"
94-
case "$CARCH" in
94+
case "$TARGETARCH" in
9595
aarch64*) CARCH="arm64" ;;
9696
arm*) CARCH="arm" ;;
9797
mips*) CARCH="mips" ;;
@@ -101,14 +101,14 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
101101
loongarch*) CARCH="loongarch" ;;
102102
esac
103103

104-
case "$CARCH" in
104+
case "$TARGETARCH" in
105105
i386)
106106
GCC_CONFIGURE_ARGS="--with-arch=i486 --with-tune=generic"
107107
;;
108-
aarch64)
108+
aarch64*)
109109
GCC_CONFIGURE_ARGS="--with-arch=armv8-a --with-abi=lp64"
110110
;;
111-
arm)
111+
arm*)
112112
GCC_CONFIGURE_ARGS="--with-arch=armv6 --with-fpu=vfp --with-float=hard"
113113
TARGET="arm-linux-musleabihf"
114114
;;

0 commit comments

Comments
 (0)