summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global/sanity.bbclass')
-rw-r--r--meta/classes-global/sanity.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass
index d415611e3d..192582b82e 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -804,6 +804,11 @@ def check_sanity_version_change(status, d):
804 # Check if linking with lstdc++ is failing 804 # Check if linking with lstdc++ is failing
805 status.addresult(check_cpp_toolchain_flag(d, "-lstdc++")) 805 status.addresult(check_cpp_toolchain_flag(d, "-lstdc++"))
806 806
807 # Check if the C++ toochain support the "--std=gnu++20" flag
808 status.addresult(check_cpp_toolchain_flag(d, "--std=gnu++20",
809 "An error occurred during checking the C++ toolchain for '--std=gnu++20' support. "
810 "Please use a g++ compiler that supports C++20 (e.g. g++ version 10 onwards)."))
811
807def sanity_check_locale(d): 812def sanity_check_locale(d):
808 """ 813 """
809 Currently bitbake switches locale to en_US.UTF-8 so check that this locale actually exists. 814 Currently bitbake switches locale to en_US.UTF-8 so check that this locale actually exists.