summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-20 12:49:50 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-20 15:50:26 +1000
commitf2bd78cb2652d3db69d0016b94c4506ada4b61c0 (patch)
tree32022b3ac5da0f49f070fb9f7090bd64d850e517
parent538a07a80aae72b57e5c23133158c7f214d0c27a (diff)
downloadsamba-f2bd78cb2652d3db69d0016b94c4506ada4b61c0.tar.gz
samba-f2bd78cb2652d3db69d0016b94c4506ada4b61c0.tar.bz2
samba-f2bd78cb2652d3db69d0016b94c4506ada4b61c0.zip
build: allow "waf --abi-check" to force a re-check of the ABI
-rw-r--r--buildtools/wafsamba/samba_abi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_abi.py b/buildtools/wafsamba/samba_abi.py
index e327e76d24..cdce58763c 100644
--- a/buildtools/wafsamba/samba_abi.py
+++ b/buildtools/wafsamba/samba_abi.py
@@ -108,6 +108,9 @@ def abi_check_task(self):
t = Task.task_type_from_func('abi_check', abi_check_task, color='BLUE', ext_in='.bin')
t.quiet = True
+# allow "waf --abi-check" to force re-checking the ABI
+if '--abi-check' in sys.argv:
+ Task.always_run(t)
@after('apply_link')
@feature('abi_check')