luasec: Replace -fPIC with $(FPIC) 8573/head
authorRosen Penev <rosenp@gmail.com>
Tue, 2 Apr 2019 04:32:32 +0000 (21:32 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 2 Apr 2019 20:02:36 +0000 (13:02 -0700)
commitcf23dd2eb0944a9a64ecec37344d04bc0c66eb4e
tree3ed65d4249b02d9e2cc21265adc3549917ccdb83
parent99e9755459d0edd6bb7efaf54a7cdce0bd6649bb
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>
lang/luasec/Makefile
lang/luasec/patches/100-fix-compilation.patch