summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-11 08:08:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-11 02:30:39 +0200
commit72b8a0952a10c94aa0483a83bec9253b53a30e39 (patch)
tree0e4ef75d194f8e3a667489e02aa414382cc5fa80 /buildtools/wafsamba/wscript
parent031dee348dbbf1c4658a0488520bacc582c4fe29 (diff)
downloadsamba-72b8a0952a10c94aa0483a83bec9253b53a30e39.tar.gz
samba-72b8a0952a10c94aa0483a83bec9253b53a30e39.tar.bz2
samba-72b8a0952a10c94aa0483a83bec9253b53a30e39.zip
buildtools: Add --enable-debug option
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rwxr-xr-xbuildtools/wafsamba/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index a302280038..ff18777575 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -81,6 +81,9 @@ def set_options(opt):
gr.add_option('--enable-auto-reconfigure',
help='enable automatic reconfigure on build',
action='store_true', dest='enable_auto_reconfigure')
+ gr.add_option('--enable-debug',
+ help=("Turn on debugging symbols"),
+ action="store_true", dest='debug', default=False)
gr.add_option('--enable-developer',
help=("Turn on developer warnings and debugging"),
action="store_true", dest='developer', default=False)