build: try to honor MAKEFLAGS from make
authorAndrew Tridgell <tridge@samba.org>
Wed, 14 Apr 2010 13:37:47 +0000 (23:37 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 14 Apr 2010 13:37:47 +0000 (23:37 +1000)
commite81e057b6d70d70616132593dc2acbfe77cb459c
treeee9fd136626400e7c46e15f172fa43a7083faac2
parent74c4c7fe4f8ed9479a126d1217dfcc084ff31791
build: try to honor MAKEFLAGS from make

This means "make -j" and "make -k" now do roughly what is expected

make -j will use the number of CPUs on the system, regardless of the
number after the -j (as MAKEFLAGS doesn't contain that value).

make -k will will continue on errors
buildtools/scripts/Makefile.waf
buildtools/wafsamba/samba_utils.py
buildtools/wafsamba/wscript