]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
Fix make 3.80 incompatibility in 22985:d8ea33e7af7e
authorJan Beulich <jbeulich@novell.com>
Wed, 9 Mar 2011 10:49:19 +0000 (10:49 +0000)
committerJan Beulich <jbeulich@novell.com>
Wed, 9 Mar 2011 10:49:19 +0000 (10:49 +0000)
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@novell.com>
xen/arch/x86/Rules.mk

index df7cf34cce5316ee6595b4e5d93a6d4abdb517d7..c15df0281ec830e64441fb52bf79ea571dc553e7 100644 (file)
@@ -50,7 +50,6 @@ x86_32 := n
 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))