From 3c28c301335f8f83b55ae536143ce944c40c8063 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 14 Jan 2024 08:50:29 +1000 Subject: [PATCH] Fix typo in exporting RUSTFLAGS Fixes #77 Signed-off-by: Allan McRae --- scripts/libmakepkg/buildenv/rust.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libmakepkg/buildenv/rust.sh.in b/scripts/libmakepkg/buildenv/rust.sh.in index 94d68f87..93114dcd 100644 --- a/scripts/libmakepkg/buildenv/rust.sh.in +++ b/scripts/libmakepkg/buildenv/rust.sh.in @@ -26,7 +26,7 @@ MAKEPKG_LIBRARY=${MAKEPKG_LIBRARY:-'@libmakepkgdir@'} source "$MAKEPKG_LIBRARY/util/option.sh" source "$MAKEPKG_LIBRARY/util/util.sh" -buildenv_var+=('RUSTFLAGS' 'DEBUG_RUSTFLAGS') +buildenv_vars+=('RUSTFLAGS' 'DEBUG_RUSTFLAGS') buildenv_functions+=('buildenv_rust') buildenv_rust() {