mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-12 05:35:38 +00:00
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>
This commit is contained in:
parent
eb31562370
commit
5d1399788a
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ncurses
|
PKG_NAME:=ncurses
|
||||||
PKG_VERSION:=6.1
|
PKG_VERSION:=6.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
@ -76,6 +76,8 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-widec \
|
--enable-widec \
|
||||||
--with-build-cppflags=-D_GNU_SOURCE
|
--with-build-cppflags=-D_GNU_SOURCE
|
||||||
|
|
||||||
|
HOST_CFLAGS += $(HOST_FPIC)
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS += \
|
HOST_CONFIGURE_ARGS += \
|
||||||
--without-cxx \
|
--without-cxx \
|
||||||
--without-cxx-binding \
|
--without-cxx-binding \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user