Re: [PATCH 13/20] Kbuild, lto: Set TMPDIR for LTO v2
On 02/18/2014 06:28 AM, Andi Kleen wrote: > > +ifdef CONFIG_LTO > +# LTO gcc creates a lot of files in TMPDIR, and with /tmp as tmpfs > +# it's easy to drive the machine OOM. Use the object directory > +# instead > +TMPDIR ?= ${objtree} > +export TMPDIR > +endif > +