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>
PKG_NAME:=ncurses
PKG_VERSION:=6.1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
PKG_HASH:=aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17
--enable-widec \
--with-build-cppflags=-D_GNU_SOURCE
+CONFIGURE_VARS += \
+ cf_try_fPIC=no
+
HOST_CFLAGS += $(HOST_FPIC)
HOST_CONFIGURE_ARGS += \