From b41d154f50cee50b27ba04db51481a4dd17e30d3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 12 Dec 2017 16:28:04 +0100 Subject: [PATCH] rules.mk: export TMPDIR Set TMPDIR to the same value as the existing TMP_DIR variable in order to let gcc and various other utilities use the local temporary directory instead of the system-wide one. Signed-off-by: Jo-Philipp Wich (cherry picked from commit 52a3477ff91a2009e451d5dce307e9cc945e9ffa) --- rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/rules.mk b/rules.mk index 743619ecff..5710a84fe7 100644 --- a/rules.mk +++ b/rules.mk @@ -21,6 +21,7 @@ DUMP:=1 endif export TMP_DIR:=$(TOPDIR)/tmp +export TMPDIR:=$(TMP_DIR) qstrip=$(strip $(subst ",,$(1))) #")) -- 2.30.2