diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-19 15:58:37 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-19 16:34:14 +1000 |
commit | b6dff759f7016bb4820fc8f9d660bf565c7caeee (patch) | |
tree | b0875b0fccd54afb12040497d12c26823eaab319 /buildtools/wafsamba/wscript | |
parent | 5040e2a6fbe8b240b1d445e1260bb95203618b75 (diff) | |
download | samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.gz samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.bz2 samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.zip |
build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute
emulator
See http://wiki.samba.org/index.php/Waf#cross-compiling for details
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r-- | buildtools/wafsamba/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index a611797b47..a49e5e7368 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -93,6 +93,9 @@ def set_options(opt): gr.add_option('--cross-execute', help=("command prefix to use for cross-execution in configure"), action='store', dest='CROSS_EXECUTE', default='') + gr.add_option('--cross-answers', + help=("answers to cross-compilation configuration (auto modified)"), + action='store', dest='CROSS_ANSWERS', default='') gr.add_option('--hostcc', help=("set host compiler when cross compiling"), action='store', dest='HOSTCC', default=False) @@ -152,6 +155,7 @@ def configure(conf): conf.env.CROSS_COMPILE = Options.options.CROSS_COMPILE conf.env.CROSS_EXECUTE = Options.options.CROSS_EXECUTE + conf.env.CROSS_ANSWERS = Options.options.CROSS_ANSWERS conf.env.HOSTCC = Options.options.HOSTCC conf.env.AUTOCONF_BUILD = Options.options.AUTOCONF_BUILD |