summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-08 19:07:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-08 13:37:40 +0200
commit30e11d55b526632f93fb60ff944c771f452ab5b4 (patch)
tree9409d9623f4e18c55c12a856da87580858e68253 /buildtools/wafsamba/wscript
parent3346af16752a08ea134059f75c003b01a7b7f7ec (diff)
downloadsamba-30e11d55b526632f93fb60ff944c771f452ab5b4.tar.gz
samba-30e11d55b526632f93fb60ff944c771f452ab5b4.tar.bz2
samba-30e11d55b526632f93fb60ff944c771f452ab5b4.zip
build: Add duplicate symbol checking as part of make test
This ensures we do not get duplicate symbols again, when run as ./configure.developer on non-build farm machines. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 13:37:40 CEST 2011 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rwxr-xr-xbuildtools/wafsamba/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index ecc2ae51f6..1a7f3eb699 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -121,6 +121,10 @@ def set_options(opt):
help=("check symbols in object files against project rules"),
action='store_true', dest='SYMBOLCHECK', default=False)
+ gr.add_option('--dup-symbol-check',
+ help=("check for duplicate symbols in object files and system libs (must be configured with --enable-developer)"),
+ action='store_true', dest='DUP_SYMBOLCHECK', default=False)
+
gr.add_option('--why-needed',
help=("TARGET:DEPENDENCY check why TARGET needs DEPENDENCY"),
action='store', type='str', dest='WHYNEEDED', default=None)