Makefile: EMERGE variable tweaks

Don't (need to) use the full path and make --jobs argument smarter.
This commit is contained in:
Albert Hopkins 2018-10-27 12:01:37 -07:00
parent 240e11bcfc
commit e27e008c47
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ DASH = NO
LOCALE ?= en_US.utf8
M4 = m4
EMERGE = /usr/bin/emerge --jobs=4
EMERGE = emerge --jobs=$(shell nproc --all)
M4_DEFS = -D HOSTNAME=$(HOSTNAME)
M4C = $(M4) $(M4_DEFS)
USEPKG = --usepkg --binpkg-respect-use=y