public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5
@ 2020-12-14 14:35 Joseph Hemann
  2020-12-14 14:59 ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Hemann @ 2020-12-14 14:35 UTC (permalink / raw)
  To: devel
  Cc: Joseph Hemann, G Edhaya Chandran, Eric Jin, Irene Park,
	Heinrich Schuchardt, Samer El-Haj-Mahmoud, Stuart Yoder

From: Joseph Hemann <Joseph.heman@arm.com>

gcc compilers versions 5.* also need to be converted from string to integer before testing

Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
Cc: Eric Jin <eric.jin@intel.com>
Cc: Irene Park <ipark@nvidia.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Cc: Stuart Yoder <Stuart.Yoder@arm.com>
Signed-off-by: Joseph Hemann <Joseph.heman@arm.com>
Change-Id: Ica60b6629f698d5f5c61b861ac4aefcc9cd24b7a
---
 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=$($1 -dumpversion)
 
-	if [ ${gcc_version%%.*} -gt 5 ]; then
+	if [ ${gcc_version%%.*} -ge 5 ]; then
 		gcc_version=5
 	fi
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-05 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 14:35 [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5 Joseph Hemann
2020-12-14 14:59 ` Heinrich Schuchardt
2021-01-05 15:18   ` G Edhaya Chandran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox