summaryrefslogtreecommitdiffstats
path: root/samba4-waf_target.patch
blob: b9d076c99d63edaa4ea3b16e751a85dbfe08409b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
commit b6880efe1ad8fbc3fe24919ae84edf46d31bd984
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:08:58 2012 +0100

    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.
---

 buildtools/wafsamba/wscript |    3 +++
 1 file changed, 3 insertions(+)

Index: samba-4.0.0alpha18/buildtools/wafsamba/wscript
===================================================================
--- samba-4.0.0alpha18.orig/buildtools/wafsamba/wscript
+++ samba-4.0.0alpha18/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='')