|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix 64-bit foreign header check
# HG changeset patch
# User john.levon@xxxxxxx
# Date 1187187471 25200
# Node ID ce1e8719a4d8c2d9051e60e14213550ba0eb3809
# Parent 3177ef0cc3ecc27051af5b3cbba72b3e42a26b68
Fix 64-bit foreign header check
If a 64-bit build is chosen, we need to compile the checker program with -m64.
Use CFLAGS instead of HOSTCFLAGS (this check doesn't work under a
cross-compile anyway).
Signed-off-by: John Levon <john.levon@xxxxxxx>
diff --git a/xen/include/public/foreign/Makefile
b/xen/include/public/foreign/Makefile
--- a/xen/include/public/foreign/Makefile
+++ b/xen/include/public/foreign/Makefile
@@ -18,7 +18,7 @@ check-headers: checker
./checker > $(XEN_TARGET_ARCH).size
diff -u reference.size $(XEN_TARGET_ARCH).size
checker: checker.c $(headers)
- $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+ $(CC) $(CFLAGS) -o $@ $<
else
check-headers:
@echo "cross build: skipping check"
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Fix 64-bit foreign header check,
john . levon <=
|
|
|
|
|