diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-03-09 10:49:19 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-03-09 10:49:19 +0000 |
commit | 28d6207bfcb0f703cad8d323ab0f92e5fa8bbc2e (patch) | |
tree | 87e444540c9b8895f4a6acc7187cc6af8f51666d /xen/arch/x86/Rules.mk | |
parent | f544bf377ee829e1342abd818ac30478c6f3a134 (diff) | |
download | xen-28d6207bfcb0f703cad8d323ab0f92e5fa8bbc2e.tar.gz xen-28d6207bfcb0f703cad8d323ab0f92e5fa8bbc2e.tar.bz2 xen-28d6207bfcb0f703cad8d323ab0f92e5fa8bbc2e.zip |
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@novell.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r-- | xen/arch/x86/Rules.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index df7cf34cce..c15df0281e 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -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)) |