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