From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx.groups.io with SMTP id smtpd.web09.35931.1607958010476046591 for ; Mon, 14 Dec 2020 07:00:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=BeRIaORW; spf=pass (domain: gmx.de, ip: 212.227.15.15, mailfrom: xypron.glpk@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607958001; bh=NeafCYMCA/FSNBzqtGjmRZrkXRTYDyY7cnfowkVf4to=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=BeRIaORWzUpXut9exUZWxpWFX3YoReEK+DD9oDSiv7WSooq9e7QLANi7x8/UmCv94 frMW1r4P3FdGHNMAmqeYYHlQKDsP9QJijJ+3wVX4SBSvJlsQoAPIDLLTswnd+0n13/ 8fiH39Zkrzlh0HHj8gH82VShWiMMhOrpprN18ouM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.70] ([62.143.246.89]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Msq6M-1k0I0m3mwK-00tGjx; Mon, 14 Dec 2020 16:00:00 +0100 Subject: Re: [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5 To: Joseph Hemann , devel@edk2.groups.io Cc: Joseph Hemann , G Edhaya Chandran , Eric Jin , Irene Park , Samer El-Haj-Mahmoud , Stuart Yoder References: <20201214143546.47522-1-joseph.hemann@arm.com> From: "Heinrich Schuchardt" Message-ID: Date: Mon, 14 Dec 2020 15:59:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20201214143546.47522-1-joseph.hemann@arm.com> X-Provags-ID: V03:K1:jp8SrWw3VysYIGDGSHlv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esTyigYb56HZSzau9tEGtBQGkfDv+hjj9Im43oRiRGz+Z7MFZkUqLc2HwYfn8ti3vbDe K7S/uQO4d1AppIFc5BzQ== Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 14.12.20 15:35, Joseph Hemann wrote: > From: Joseph Hemann > > gcc compilers versions 5.* also need to be converted from string to inte= ger before testing > > Cc: G Edhaya Chandran > Cc: Eric Jin > Cc: Irene Park > Cc: Heinrich Schuchardt > Cc: Samer El-Haj-Mahmoud > Cc: Stuart Yoder > Signed-off-by: Joseph Hemann > Change-Id: Ica60b6629f698d5f5c61b861ac4aefcc9cd24b7a Reviewed-by: Heinrich Schuchardt > --- > uefi-sct/SctPkg/build.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh > index 37667711..ba9babe7 100755 > --- a/uefi-sct/SctPkg/build.sh > +++ b/uefi-sct/SctPkg/build.sh > @@ -56,7 +56,7 @@ function get_gcc_version > { > gcc_version=3D$($1 -dumpversion) > > - if [ ${gcc_version%%.*} -gt 5 ]; then > + if [ ${gcc_version%%.*} -ge 5 ]; then > gcc_version=3D5 > fi > >