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>
This commit is contained in:
Jo-Philipp Wich 2017-12-12 16:28:04 +01:00
parent 902961c148
commit 72051f7036

View file

@ -21,6 +21,7 @@ DUMP:=1
endif endif
export TMP_DIR:=$(TOPDIR)/tmp export TMP_DIR:=$(TOPDIR)/tmp
export TMPDIR:=$(TMP_DIR)
qstrip=$(strip $(subst ",,$(1))) qstrip=$(strip $(subst ",,$(1)))
#")) #"))