From adabc3d082a2e23a9bca9282ad5e7be07fa776e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Oct 2010 11:17:30 +1100 Subject: waf: added --symbol-check option this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett --- buildtools/wafsamba/wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildtools/wafsamba/wscript') diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 7c40c8c507..49f1cf4604 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -104,6 +104,10 @@ def set_options(opt): help=("Show dependency tree for the given target"), dest='SHOWDEPS', default='') + gr.add_option('--symbol-check', + help=("check symbols in object files against project rules"), + action='store_true', dest='SYMBOLCHECK', default=False) + gr.add_option('--show-duplicates', help=("Show objects which are included in multiple binaries or libraries"), action='store_true', dest='SHOW_DUPLICATES', default=False) -- cgit