aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-22 11:12:04 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-22 11:29:05 +0100
commit5d1399788ac2bd0fe53b9b727ba38cf2060de8fc (patch)
tree8b499e3b3f9c0b7fa3ffc5d1beb103decccf4f61 /package/libs
parenteb31562370a3d7cd09598646a5ad50d3effcf1c0 (diff)
downloadupstream-5d1399788ac2bd0fe53b9b727ba38cf2060de8fc.tar.gz
upstream-5d1399788ac2bd0fe53b9b727ba38cf2060de8fc.tar.bz2
upstream-5d1399788ac2bd0fe53b9b727ba38cf2060de8fc.zip
ncurses: build host libraries with -fPIC
Since readline/host links ncurses/host now, we need to ensure that the libncursesw.so host library is built with -fPIC. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/ncurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 5d1b28d57d..604a02db52 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ncurses
PKG_VERSION:=6.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -76,6 +76,8 @@ CONFIGURE_ARGS += \
--enable-widec \
--with-build-cppflags=-D_GNU_SOURCE
+HOST_CFLAGS += $(HOST_FPIC)
+
HOST_CONFIGURE_ARGS += \
--without-cxx \
--without-cxx-binding \