Carlos Rafael Giani b6ed943170 tinyalsa: Add -fPIC to compile flags
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:07:11 -07:00

25 lines
749 B
BlitzBasic

DESCRIPTION = "TinyALSA is a small library to interface with ALSA in \
the Linux kernel. It is a lightweight alternative to libasound."
HOMEPAGE = "https://github.com/tinyalsa/tinyalsa"
SECTION = "libs/multimedia"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"
SRCREV = "67b9210d344c34e8d1aa0cfe638abce71c5221ca"
SRC_URI = "git://github.com/tinyalsa/tinyalsa"
PV = "1.1.1+git${SRCPV}"
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}/*"