]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc-runtime: Move content from gcclibdir into libdir
authorKhem Raj <raj.khem@gmail.com>
Tue, 13 Aug 2019 15:28:35 +0000 (08:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 16:33:49 +0000 (17:33 +0100)
commit1dc2823d62b253a6f7d05f71426f77925523de49
tree8210045bbff9ac6dab6021a4c0bf93743d2df59f
parente64e8aa72544c1eb271411a0a3c33c9d4f5b606c
gcc-runtime: Move content from gcclibdir into libdir

OE does not use the traditional /usr/lib/gcc prefix to store gcc-runtime
it basically is moved into libdir, however some newer files were
installed by newer versions of gcc especially libgomp ( omp.h openacc.h )
into gcclibdir, so we have content in both directories, this confuses
other tools which are trying to guess the gcc installation and its
runtime location, since now we have two directories, the tools either
choose one or other and we get inconsistent behavior, e.g. clang for
aarch64 uses /usr/lib but same clang for riscv64 chose /usr/lib/gcc

This change ensures that OE ends up with single valid location for gcc
runtime files

Move more common bits into common inc file

(From OE-Core rev: e9e5744ba8b0d43c8b874d365f83071ce20bf0a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/gcc-runtime_8.3.bb
meta/recipes-devtools/gcc/gcc-runtime_9.1.bb