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>
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))