From: Rosen Penev Date: Thu, 31 Mar 2022 04:33:01 +0000 (-0700) Subject: readline: add host PIC X-Git-Tag: v23.05.0-rc1~3602 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b363f7488643882b9c53a1e2c6db2a110703cc1d;p=thirdparty%2Fopenwrt.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 d14f058eaba..9cf061a648c 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