]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: add --enable-new-dtags to linker
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 21 Dec 2018 14:23:51 +0000 (15:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jan 2019 19:54:03 +0000 (19:54 +0000)
commit661d700ab7428b0ad982bfd2714cca134bad85a2
treec1a9d8a70b6e3bfeac5a73e130dd5e0a19b5dae3
parent2a2bbd755b330cd63f7f6e2f2b374a3ae065b37a
bitbake.conf: add --enable-new-dtags to linker

Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.

Let's make this deterministic.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/bitbake.conf