summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-14 23:37:47 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-14 23:37:47 +1000
commite81e057b6d70d70616132593dc2acbfe77cb459c (patch)
treeee9fd136626400e7c46e15f172fa43a7083faac2 /buildtools/wafsamba/wscript
parent74c4c7fe4f8ed9479a126d1217dfcc084ff31791 (diff)
downloadsamba-e81e057b6d70d70616132593dc2acbfe77cb459c.tar.gz
samba-e81e057b6d70d70616132593dc2acbfe77cb459c.tar.bz2
samba-e81e057b6d70d70616132593dc2acbfe77cb459c.zip
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
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index a395bfedf3..b4fcb99684 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -226,6 +226,7 @@ def configure(conf):
def build(bld):
+ bld.CHECK_MAKEFLAGS()
bld.SETUP_BUILD_GROUPS()
bld.ENFORCE_GROUP_ORDERING()
bld.CHECK_PROJECT_RULES()