diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-11-21 10:59:11 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 22:03:43 +0000 |
commit | 44e77d3f97af4cd4ad8bc0984f093a116a830986 (patch) | |
tree | e272d2444fc34c4467a003421dca79f04696e2d8 /meta/recipes-multimedia/pulseaudio/pulseaudio/0001-introduce-a-special-build-flag-to-explicitly-disable.patch | |
parent | 42458635b52f5cff6448d7440a44b03114e6842d (diff) | |
download | openembedded-core-contrib-44e77d3f97af4cd4ad8bc0984f093a116a830986.tar.gz |
classes/cmake: Use relative RPATHs
In most cases, the RPATH is stripped out when the ELF file is packages,
but by then the damage is done from a reproducible perspective because
this absolute path is hashed as part of the build-id generated at link
time ([1] has a good explanation). Fortunately, newer cmake has an
option to generated relative RPATHs that use $ORIGIN to set the path, so
set it in the toolchain file.
[1]: https://gitlab.kitware.com/cmake/cmake/issues/18413
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio/0001-introduce-a-special-build-flag-to-explicitly-disable.patch')
0 files changed, 0 insertions, 0 deletions