dev-lua/lua-term: add fPIC

Closes: https://bugs.gentoo.org/829681
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2022-04-18 22:16:11 +02:00
parent f6ac2ea937
commit 81fb25e7c0

View File

@@ -36,7 +36,7 @@ lua_src_compile() {
local myemakeargs=(
"CC=$(tc-getCC)"
"CFLAGS=${CFLAGS} ${LDFLAGS} $(lua_get_CFLAGS)"
"CFLAGS=${CFLAGS} -fPIC ${LDFLAGS} $(lua_get_CFLAGS)"
)
emake "${myemakeargs[@]}" all