aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-12-12 16:28:04 +0100
committerJo-Philipp Wich <jo@mein.io>2017-12-13 16:57:17 +0100
commitb41d154f50cee50b27ba04db51481a4dd17e30d3 (patch)
tree82ad8d1c7c73845393c0af5056e2d71d41947308 /rules.mk
parente719a08cc1990d033b56b850616313d3764810ba (diff)
downloadupstream-b41d154f50cee50b27ba04db51481a4dd17e30d3.tar.gz
upstream-b41d154f50cee50b27ba04db51481a4dd17e30d3.tar.bz2
upstream-b41d154f50cee50b27ba04db51481a4dd17e30d3.zip
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 <jo@mein.io> (cherry picked from commit 52a3477ff91a2009e451d5dce307e9cc945e9ffa)
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
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)))
#"))