From: "Jan Beulich" Subject: [PATCH] fix make 3.80 incompatibility of 22985:d8ea33e7af7e Date: Wed, 09 Mar 2011 10:30:48 +0000 Message-ID: <4D7764E8020000780003573B@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartCCE0FBC8.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartCCE0FBC8.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -50,7 +50,6 @@ x86_32 :=3D n x86_64 :=3D y endif =20 -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) =3D $(call cc-ver-check,CC,0x030400,"Xen requires at least = gcc-3.4") +$(eval $(check-y)) --=__PartCCE0FBC8.0__= Content-Type: text/plain; name="make-3.80-fix.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make-3.80-fix.patch" make 3.80 complains about a missing endif if the invocation of=0Acc-ver-che= ck is itself wrapped in a conditional. Steal how the tools=0Adeal with = that.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = a/xen/arch/x86/Rules.mk=0A+++ b/xen/arch/x86/Rules.mk=0A@@ -50,7 +50,6 @@ = x86_32 :=3D n=0A x86_64 :=3D y=0A endif=0A =0A-ifeq ($(gcc),y)=0A # = Require GCC v3.4+ (to avoid issues with alignment constraints in Xen = headers)=0A-$(call cc-ver-check,CC,0x030400,"Xen requires at least = gcc-3.4")=0A-endif=0A+check-$(gcc) =3D $(call cc-ver-check,CC,0x030400,"Xen= requires at least gcc-3.4")=0A+$(eval $(check-y))=0A --=__PartCCE0FBC8.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartCCE0FBC8.0__=--