summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/Makefile.waf7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/Makefile.waf b/source4/Makefile.waf
index 8d5e7455ed..d2128b46af 100644
--- a/source4/Makefile.waf
+++ b/source4/Makefile.waf
@@ -5,7 +5,12 @@
# problems in the build farm
# WAF=WAFCACHE=$(HOME)/.wafcache ../buildtools/waf
-WAF=../buildtools/waf
+# default to using only 1 cpu, to be friendly to build
+# farm machines. I wonder how we get at the -jN option
+# from make to pass it to waf?
+JOBS=1
+
+WAF=JOBS=$(JOBS) ../buildtools/waf
all:
$(WAF) build