summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/tinyalsa
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2018-07-17 10:14:53 +0200
committerKhem Raj <raj.khem@gmail.com>2018-07-20 16:07:11 -0700
commitb6ed94317034de0c34e6c406a2f096b9cc87e532 (patch)
treeba5b8df9854c36c00acf7c2df15b8133b33b9be8 /meta-multimedia/recipes-multimedia/tinyalsa
parent350db7cc7ce3eb9e30066705c3764e30ddd2bdae (diff)
downloadmeta-openembedded-b6ed94317034de0c34e6c406a2f096b9cc87e532.tar.gz
tinyalsa: Add -fPIC to compile flags
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/tinyalsa')
-rw-r--r--meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb6
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 72094b6fa..157e4c91f 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
15inherit cmake 15inherit 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'
21CFLAGS += " -fPIC -DPIC "
22
17PACKAGES =+ "${PN}-tools" 23PACKAGES =+ "${PN}-tools"
18FILES_${PN}-tools = "${bindir}/*" 24FILES_${PN}-tools = "${bindir}/*"