ncurses: Do not pass both -fPIC and -fpic
authorRosen Penev <rosenp@gmail.com>
Tue, 27 Aug 2019 22:49:21 +0000 (15:49 -0700)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 20:12:42 +0000 (16:12 -0400)
commit4401e726c23dd3483eab11ddeb664ddf763470f4
tree40ff4c9460630d204b429a7dbff5b959fa6b6672
parent1826ad1eee9b941ebba5d7b5455578448eca11b4
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