configure: fixed lack of rustc compiler argument parsing

This commit is contained in:
Emma Tebibyte 2024-01-19 20:31:34 -07:00
parent 9095602296
commit caff26209e
Signed by: emma
GPG Key ID: 06FA419A1698C270

1
configure vendored
View File

@ -27,6 +27,7 @@ while test -n "$1"; do
gcc) gcc)
CFLAGS="$CFLAGS -s -Wl,-z,noseparate-code,-z,nosectionheader -flto" CFLAGS="$CFLAGS -s -Wl,-z,noseparate-code,-z,nosectionheader -flto"
;; ;;
rustc) ;;
'rustc +nightly') 'rustc +nightly')
RUSTFLAGS="+nightly -Zlocation-detail=none $RUSTFLAGS" RUSTFLAGS="+nightly -Zlocation-detail=none $RUSTFLAGS"
;; ;;