Commit 9d34508d authored by Joseph Hemann's avatar Joseph Hemann Committed by Barton Gao
Browse files

uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5

gcc compilers versions 5.* also need to be converted from string to integer 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: default avatarJoseph Hemann <>
Reviewed-by: default avatarHeinrich Schuchardt <>
Reviewed-By: G Edhaya Chandran's avatarG Edhaya Chandran <>
parent 92efde18
......@@ -56,7 +56,7 @@ function get_gcc_version
gcc_version=$($1 -dumpversion)
if [ ${gcc_version%%.*} -gt 5 ]; then
if [ ${gcc_version%%.*} -ge 5 ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment