From f5437a65020f6882cc6cc3c25d781cdd5bd32e21 Mon Sep 17 00:00:00 2001 From: Nix Date: Sun, 26 Jan 2014 22:58:02 +0000 Subject: [PATCH] Makefile: Unexport TAR_OPTIONS GNU tar > 1.13.17 interprets TAR_OPTIONS as an environment variable containing options to be prepended to the set on the command line. Since we use the same variable, if the user's environment already contains TAR_OPTIONS, our use of the same variable name modifies the environment and causes untars to misbehave when TAR_OPTIONS causes a -xf to be prepended to the tar command line, likely converting a subsequent flag into a spurious filename. Signed-off-by: Nick Alcock Signed-off-by: Peter Korsgaard --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9dfb1e0824..067458b6a9 100644 --- a/Makefile +++ b/Makefile @@ -261,6 +261,7 @@ unexport CPP unexport CFLAGS unexport CXXFLAGS unexport GREP_OPTIONS +unexport TAR_OPTIONS unexport CONFIG_SITE unexport QMAKESPEC unexport TERMINFO -- 2.30.2