summaryrefslogtreecommitdiffstats
path: root/samba4-waf_target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'samba4-waf_target.patch')
-rw-r--r--samba4-waf_target.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/samba4-waf_target.patch b/samba4-waf_target.patch
new file mode 100644
index 0000000..3690d20
--- /dev/null
+++ b/samba4-waf_target.patch
@@ -0,0 +1,28 @@
+commit 7c7d54e0d18e1a840abdcc54be31b0dee998bd3f
+Author: Andreas Schneider <asn@samba.org>
+AuthorDate: Thu Mar 15 17:04:00 2012 +0100
+Commit: Andreas Schneider <asn@samba.org>
+CommitDate: Thu Mar 15 17:04:00 2012 +0100
+
+ waf: Add autoconf --target support.
+
+ This is needed on some platforms so that you can set it and it is not
+ automagicaly transformed into --targets.
+---
+ buildtools/wafsamba/wscript | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
+index 094f9cc..49d2107 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='') \ No newline at end of file