index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 2f06b9b3..3174b0c7 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -864,14 +864,12 @@ run_function() { # clear user-specified buildflags if requested if [[ $(check_option buildflags) = "n" ]]; then - CFLAGS="" - CXXFLAGS="" - LDFLAGS="" + unset CFLAGS CXXFLAGS LDFLAGS fi # clear user-specified makeflags if requested if [[ $(check_option makeflags) = "n" ]]; then - MAKEFLAGS="" + unset MAKEFLAGS fi msg "$(gettext "Starting %s()...")" "$pkgfunc" |