git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Skip running a C program during cross compilation
[bbaumbach/samba-autobuild/.git]
/
buildtools
/
wafsamba
/
wscript
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index a33d26706a5845af9deb72139f048e3effb86049..93af81f1eca58c701779f904ba11c495a4b35bc1 100644
(file)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-378,7
+378,7
@@
def configure(conf):
conf.CHECK_CODE('printf("hello world")',
define='HAVE_SIMPLE_C_PROG',
mandatory=True,
- execute=
True
,
+ execute=
not conf.env.CROSS_COMPILE
,
headers='stdio.h',
msg='Checking simple C program')