diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-01-30 17:59:48 -0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-12 12:37:31 +1300 |
commit | a7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0 (patch) | |
tree | 18af084552cf58420483b22529c48d30b3a53356 /wscript | |
parent | 30cc8f41da58b87ff575860b7cde640520829923 (diff) | |
download | samba-a7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0.tar.gz samba-a7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0.tar.xz samba-a7d4185bb8cf7d4d71c07b9f1fdb42d948aa22c0.zip |
build: don't execute tests/summary.c
tests/summary.c will never be able to be executed when cross compiling.
Use #error and #warning directives to fail or warn accordingly when
compiling it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -170,7 +170,6 @@ def configure(conf): if not conf.CHECK_CODE('#include "tests/summary.c"', define='SUMMARY_PASSES', addmain=False, - execute=True, msg='Checking configure summary'): raise Utils.WafError('configure summary failed') |