redis: add back DEBUG_PREFIX_MAP to LDFLAGS
PATCH 1/1 redis: add back DEBUG_PREFIX_MAP to LDFLAGS
Without this redis embeds absoute build paths in the binaries, failing qa check. These LDFLAGS were recently removed from oe-core[1] - this change adds it back to this recipe.
The qa error was not showing with redis 6 recipe, so it is added only to redis 7.
[1]: https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448
Signed-off-by Gyorgy Sarvari <[email protected]>
--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/redis/redis_7.2.12.bb +2 -0
@@ -47,6 +47,8 @@ PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd" EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" +TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}" + do_compile:prepend() { oe_runmake -C deps hdr_histogram fpconv hiredis lua linenoise }