summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sanity.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9e87101738..292c5591dd 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -527,7 +527,7 @@ def check_wsl(d):
527 bb.warn("You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space") 527 bb.warn("You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space")
528 return None 528 return None
529 529
530# Require at least gcc version 5.0. 530# Require at least gcc version 6.0.
531# 531#
532# This can be fixed on CentOS-7 with devtoolset-6+ 532# This can be fixed on CentOS-7 with devtoolset-6+
533# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ 533# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
@@ -541,8 +541,8 @@ def check_gcc_version(sanity_data):
541 541
542 build_cc, version = oe.utils.get_host_compiler_version(sanity_data) 542 build_cc, version = oe.utils.get_host_compiler_version(sanity_data)
543 if build_cc.strip() == "gcc": 543 if build_cc.strip() == "gcc":
544 if LooseVersion(version) < LooseVersion("5.0"): 544 if LooseVersion(version) < LooseVersion("6.0"):
545 return "Your version of gcc is older than 5.0 and will break builds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n" 545 return "Your version of gcc is older than 6.0 and will break builds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n"
546 return None 546 return None
547 547
548# Tar version 1.24 and onwards handle overwriting symlinks correctly 548# Tar version 1.24 and onwards handle overwriting symlinks correctly