luasec: Replace -fPIC with $(FPIC)
authorRosen Penev <rosenp@gmail.com>
Tue, 2 Apr 2019 04:32:32 +0000 (21:32 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 24 Apr 2019 18:13:48 +0000 (11:13 -0700)
commit7059f94769a6cdf318a7aa173b9730a0e229b1e6
treeb1ba96634e4bb54fe9b0d64b4a23b9cf64d743cf
parent9e532f225450c8786ccf53e42a319760ff448da5
luasec: Replace -fPIC with $(FPIC)

Currently i386 and the PPC targets have issues linking issues.

https://github.com/openwrt/packages/issues/3319

says that replacing -fPIC with -fpic works.

Patch added to avoid package overriding settings set by toolchain and make
compilation less noisy

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from cf23dd2eb0944a9a64ecec37344d04bc0c66eb4e)
lang/luasec/Makefile
lang/luasec/patches/100-fix-compilation.patch [new file with mode: 0644]