From 388d4e95e31d45da423f276a406d58f1fa385ec6 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 26 Nov 2024 16:02:06 +0000 Subject: [PATCH] Musl: use default GCC version --- steps/01-install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/steps/01-install.sh b/steps/01-install.sh index ae69fbe..4883785 100755 --- a/steps/01-install.sh +++ b/steps/01-install.sh @@ -45,22 +45,22 @@ case "$TARGET_OS" in case "$TARGET_CPU" in x86) MUSL_VERSION="i686-linux-musl-cross" - PACKAGES="g++-10 g++-10-multilib" + PACKAGES="g++ g++-multilib" ;; x64) MUSL_VERSION="x86_64-linux-musl-cross" - PACKAGES="g++-10" + PACKAGES="g++" ;; arm) MUSL_VERSION="arm-linux-musleabihf-cross" - PACKAGES="g++-10" + PACKAGES="g++" ;; arm64) MUSL_VERSION="aarch64-linux-musl-cross" - PACKAGES="g++-10" + PACKAGES="g++" ;; esac @@ -68,8 +68,6 @@ case "$TARGET_OS" in echo "$PWD/$MUSL_VERSION/bin" >> "$PATH_FILE" sudo apt-get install -y $PACKAGES - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 else