samba/more_patches/OpenBSD-Make-arguements-to-WAF.patch

31 lines
825 B
Diff
Raw Permalink Normal View History

2019-01-24 20:16:15 +03:00
From 500239325088b475dd52cf40cfe9ded242f759ac Mon Sep 17 00:00:00 2001
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Date: Thu, 24 Jan 2019 00:53:54 +0300
Subject: [PATCH] Make arguements to WAF
With this patch, it becomes easy to call WAF with additional arguments. This ability is quiet handy in automated environments that are already oriented on Makefile framework.
Author: Vadim Zhukov, OpenBSD
https://bugzilla.samba.org/show_bug.cgi?id=9886
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5cc90771000..a91be074e5e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@
PYTHON?=python
WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
-WAF=WAF_MAKE=1 $(WAF_BINARY)
+WAF_ARGS?=
+WAF=WAF_MAKE=1 $(WAF_BINARY) $(WAF_ARGS)
all:
$(WAF) build
--
2.17.1