summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/buildenv/buildflags.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/buildenv/buildflags.sh.in')
-rw-r--r--scripts/libmakepkg/buildenv/buildflags.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/buildenv/buildflags.sh.in b/scripts/libmakepkg/buildenv/buildflags.sh.in
index daccc9cc..85ee80fc 100644
--- a/scripts/libmakepkg/buildenv/buildflags.sh.in
+++ b/scripts/libmakepkg/buildenv/buildflags.sh.in
@@ -30,6 +30,6 @@ buildenv_functions+=('buildenv_buildflags')
buildenv_buildflags() {
if check_option "buildflags" "n"; then
- unset CPPFLAGS CFLAGS DEBUG_CFLAGS CXXFLAGS DEBUG_CXXFLAGS LDFLAGS
+ unset CPPFLAGS CFLAGS DEBUG_CFLAGS CXXFLAGS DEBUG_CXXFLAGS LDFLAGS RUSTFLAGS DEBUG_RUSTFLAGS
fi
}