Browse Source

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 <[email protected]>
Jo-Philipp Wich 8 years ago
parent
commit
72051f7036
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rules.mk

+ 1 - 0
rules.mk

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