From: Jo-Philipp Wich Date: Tue, 12 Dec 2017 15:28:04 +0000 (+0100) Subject: rules.mk: export TMPDIR X-Git-Tag: v17.01.5~137 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=b41d154f50cee50b27ba04db51481a4dd17e30d3 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) --- 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))) #"))