From: Rosen Penev Date: Thu, 31 Mar 2022 04:33:01 +0000 (-0700) Subject: readline: add host PIC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b363f7488643882b9c53a1e2c6db2a110703cc1d;p=openwrt%2Fstaging%2Fynezz.git readline: add host PIC Python seems to fail to link to libreadline properly because of this. Not a fatal error but an error nontheless. Signed-off-by: Rosen Penev --- diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile index d14f058eab..9cf061a648 100644 --- a/package/libs/readline/Makefile +++ b/package/libs/readline/Makefile @@ -53,6 +53,7 @@ CONFIGURE_VARS += \ bash_cv_func_sigsetjmp=yes \ TARGET_CFLAGS += $(FPIC) +HOST_CFLAGS += $(FPIC) define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include