tinyalsa: Add -fPIC to compile flags
PATCH 1/1 tinyalsa: Add -fPIC to compile flags
Signed-off-by Carlos Rafael Giani <[email protected]>
--- meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb +6 -0
@@ -14,5 +14,11 @@ S = "${WORKDIR}/git" inherit cmake +# tinyalsa is built as a static library. Enable PIC to avoid relocation +# errors like these: +# +# unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' +CFLAGS += " -fPIC -DPIC " + PACKAGES =+ "${PN}-tools" FILES_${PN}-tools = "${bindir}/*"
Signature · 1 line
2.17.1