libnfnetlink: Avoid passing both -fPIC and -fpic
authorRosen Penev <rosenp@gmail.com>
Tue, 27 Aug 2019 22:49:22 +0000 (15:49 -0700)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:45:26 +0000 (13:45 +0200)
commit6151609d0701eb0b257ff701c4ec94dcf9f92324
tree96a72f4b9aa552729f9fcd098e8895d659ce89e7
parentaa2980b859edf26df987dfb127293b1a152cdc01
libnfnetlink: Avoid passing both -fPIC and -fpic

Instead, instruct the configure script to use $(FPIC) only.

Mixing -fPIC and -fpic can cause issues on some platforms like PPC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 926157c2ccb02aa06b343662ecbd2571faf6eddd)
package/libs/libnfnetlink/Makefile