diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-04-21 10:18:16 -0300 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2014-05-06 18:14:13 +0200 |
commit | 6619055f6034c1f7194c821ac230d53bf735adbc (patch) | |
tree | d2fedc821d92b64b3d0ece0bd719a0451391344a /source3/wscript | |
parent | 5ac317e2b6a7a45c024490e3e1e2bd00debf150f (diff) | |
download | samba-6619055f6034c1f7194c821ac230d53bf735adbc.tar.gz samba-6619055f6034c1f7194c821ac230d53bf735adbc.tar.xz samba-6619055f6034c1f7194c821ac230d53bf735adbc.zip |
build: make wafsamba CHECK_SIZEOF cross-compile friendly
Use the same trick as commit 0d9bb86293c9d39298786df095c73a6251b08b7e
We do the same array trick iteratively starting from 1 (byte) by powers
of 2 up to 32.
The new 'critical' option is used to make the invocation die or not
according to each test.
The default is True since normally it's expected to find a proper
result and should error out if not.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/wscript')
0 files changed, 0 insertions, 0 deletions