]> code.ossystems Code Review - openembedded-core.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:29:57 +0000 (17:29 +0100)
commite9e5744ba8b0d43c8b874d365f83071ce20bf0a1
tree3c46a6631c103ac975784e559cb4be6f92027d9f
parente54ecea0a7d309533973b31bdbda178d9af92632
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

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