ncurses: Do not pass both -fPIC and -fpic
authorRosen Penev <rosenp@gmail.com>
Tue, 27 Aug 2019 22:49:21 +0000 (15:49 -0700)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:45:21 +0000 (13:45 +0200)
commitaa2980b859edf26df987dfb127293b1a152cdc01
tree2cda76f4c629a9e5679399c4542177654fc0ab85
parent5a102a010fe6be82d5793104acefabbbc01d6b85
ncurses: Do not pass both -fPIC and -fpic

The configure scripts matches Linux with -fPIC, which is not exactly what
is desired. Since we are already passing $(FPIC), added a CONFIGURE_VAR to
avoid passing -fPIC.

Removed PKG_BUILD_DIR as it is already the default value.

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