diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 88888e814a..edd2df2626 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -521,7 +521,7 @@ def check_wsl(d): | |||
521 | return "OpenEmbedded doesn't work under WSL at this time, sorry" | 521 | return "OpenEmbedded doesn't work under WSL at this time, sorry" |
522 | return None | 522 | return None |
523 | 523 | ||
524 | # Require at least gcc version 4.8. | 524 | # Require at least gcc version 5.0. |
525 | # | 525 | # |
526 | # This can be fixed on CentOS-7 with devtoolset-6+ | 526 | # This can be fixed on CentOS-7 with devtoolset-6+ |
527 | # https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ | 527 | # https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ |
@@ -535,8 +535,8 @@ def check_gcc_version(sanity_data): | |||
535 | 535 | ||
536 | build_cc, version = oe.utils.get_host_compiler_version(sanity_data) | 536 | build_cc, version = oe.utils.get_host_compiler_version(sanity_data) |
537 | if build_cc.strip() == "gcc": | 537 | if build_cc.strip() == "gcc": |
538 | if LooseVersion(version) < LooseVersion("4.8"): | 538 | if LooseVersion(version) < LooseVersion("5.0"): |
539 | return "Your version of gcc is older than 4.8 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" | 539 | 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" |
540 | return None | 540 | return None |
541 | 541 | ||
542 | # Tar version 1.24 and onwards handle overwriting symlinks correctly | 542 | # Tar version 1.24 and onwards handle overwriting symlinks correctly |