diff options
-rw-r--r-- | meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb index 72094b6fad..157e4c91f1 100644 --- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb | |||
@@ -14,5 +14,11 @@ S = "${WORKDIR}/git" | |||
14 | 14 | ||
15 | inherit cmake | 15 | inherit cmake |
16 | 16 | ||
17 | # tinyalsa is built as a static library. Enable PIC to avoid relocation | ||
18 | # errors like these: | ||
19 | # | ||
20 | # unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' | ||
21 | CFLAGS += " -fPIC -DPIC " | ||
22 | |||
17 | PACKAGES =+ "${PN}-tools" | 23 | PACKAGES =+ "${PN}-tools" |
18 | FILES_${PN}-tools = "${bindir}/*" | 24 | FILES_${PN}-tools = "${bindir}/*" |