build: allow "waf --abi-check" to force a re-check of the ABI
authorAndrew Tridgell <tridge@samba.org>
Tue, 20 Apr 2010 02:49:50 +0000 (12:49 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 20 Apr 2010 05:50:26 +0000 (15:50 +1000)
buildtools/wafsamba/samba_abi.py

index e327e76d24cfd4a296580112338d85873db41e55..cdce58763c86c6d50541b52747fc52cbecdca487 100644 (file)
@@ -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')