summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-03-15 17:04:00 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-03-21 11:54:01 +0100
commit06db3bfa374026c05dc21bf0454234dbdbedb26b (patch)
tree6461f1f4b375eebdae2e2e89acf6edc143b67ce2 /buildtools
parentb114043c4641f4559e3b02a0b094153d83bb328e (diff)
downloadsamba-06db3bfa374026c05dc21bf0454234dbdbedb26b.tar.gz
samba-06db3bfa374026c05dc21bf0454234dbdbedb26b.tar.bz2
samba-06db3bfa374026c05dc21bf0454234dbdbedb26b.zip
waf: Add autoconf --target support.
This is needed on some platforms so that you can set it and it is not automagically transformed into --targets. The --target option is normally set by the RPM %configure macro. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 21 11:54:02 CET 2012 on sn-devel-104
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/wafsamba/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 094f9cc5b4..49d21078c4 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -156,6 +156,9 @@ def set_options(opt):
opt.add_option('--host',
help=SUPPRESS_HELP,
action='store', dest='AUTOCONF_HOST', default='')
+ opt.add_option('--target',
+ help=SUPPRESS_HELP,
+ action='store', dest='AUTOCONF_TARGET', default='')
opt.add_option('--program-prefix',
help=SUPPRESS_HELP,
action='store', dest='AUTOCONF_PROGRAM_PREFIX', default='')