summaryrefslogtreecommitdiffstats
path: root/samba4-waf_target.patch
blob: 3690d208deac5188ac04d411b887d790cec0270a (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
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='')