]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sanity.bbclass: add test for gcc < 5.0 timo/install-buildtools_13832_fixes
authorTim Orling <timothy.t.orling@linux.intel.com>
Sat, 28 Mar 2020 03:19:49 +0000 (20:19 -0700)
committerTim Orling <timothy.t.orling@linux.intel.com>
Mon, 30 Mar 2020 19:16:23 +0000 (19:16 +0000)
commit9f853748a1095179fe942dfdcd7138c48eb76406
treef398dd695c266d0266777d63adaab0dff85b6677
parent3fb7b8a1575e1f360196da294e74657ebffc3446
sanity.bbclass: add test for gcc < 5.0

It is known that the version of gcc in CentOS-7 (4.8.5) causes builds to fail.

Add a test for BUILD_CC == 'gcc' and gcc < 5.0 and recommend using
scripts/install-buildtools or user built buildtools-extended-tarball.

NOTE: another solution is to install devtoolset-6+ from scl [1], but
this is a rather large install (> 1 Gb) and fairly invasive.

[1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
meta/classes/sanity.bbclass