diff --git a/build.sh b/build.sh index fb0e9fa..8de2b40 100755 --- a/build.sh +++ b/build.sh @@ -53,7 +53,7 @@ else fi if [[ "$OPT_BUILD_STD" == "true" ]] || [[ "$OPT_BUILD_STD" == "True" ]]; then - RUSTFLAGS="$RUSTFLAGS -Lunwind -L/lib/musl/lib -Lcrt -Lxz -llzma" + RUSTFLAGS="$RUSTFLAGS -L/lib/musl/lib -llzma -lgcc" TOOLCHAIN='+nightly' ARGS="-Z build-std=std,panic_abort $ARGS" fi