mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +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:
committed by
Khem Raj
parent
350db7cc7c
commit
b6ed943170
@@ -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}/*"
|
||||
|
||||
Reference in New Issue
Block a user