mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 08:26:39 +00:00
tinyalsa: Add -fPIC to compile flags
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
350db7cc7c
commit
b6ed943170
@ -14,5 +14,11 @@ S = "${WORKDIR}/git"
|
|||||||
|
|
||||||
inherit cmake
|
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"
|
PACKAGES =+ "${PN}-tools"
|
||||||
FILES_${PN}-tools = "${bindir}/*"
|
FILES_${PN}-tools = "${bindir}/*"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user