From: Jo-Philipp Wich Date: Tue, 12 Dec 2017 15:28:04 +0000 (+0100) Subject: rules.mk: export TMPDIR X-Git-Tag: v18.06.0-rc1~1593 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=72051f70368b53afa3305e1485c62b7e47fc1210;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- diff --git a/rules.mk b/rules.mk index ed796a5402..3558f2f028 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))) #"))