[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix make 3.80 incompatibility in 22985:d8ea33e7af7e



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1299667759 0
# Node ID b972a7f493252530c5ffdcf9b7e2c348f8a4ac32
# Parent  299ed79acecfe27d20ed2ac4cb959e3c5547fd2d
Fix make 3.80 incompatibility in 22985:d8ea33e7af7e

make 3.80 complains about a missing endif if the invocation of
cc-ver-check is itself wrapped in a conditional. Steal how the tools
deal with that.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---


diff -r 299ed79acecf -r b972a7f49325 xen/arch/x86/Rules.mk
--- a/xen/arch/x86/Rules.mk     Tue Mar 08 16:30:30 2011 +0000
+++ b/xen/arch/x86/Rules.mk     Wed Mar 09 10:49:19 2011 +0000
@@ -50,7 +50,6 @@
 x86_64 := y
 endif
 
-ifeq ($(gcc),y)
 # Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers)
-$(call cc-ver-check,CC,0x030400,"Xen requires at least gcc-3.4")
-endif
+check-$(gcc) = $(call cc-ver-check,CC,0x030400,"Xen requires at least gcc-3.4")
+$(eval $(check-y))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.