From: Rosen Penev Date: Thu, 31 Mar 2022 04:33:01 +0000 (-0700) Subject: readline: add host PIC X-Git-Tag: v22.03.0-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541acd3933b08ea01ac3af29a19372e6e50e91f1;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 (cherry picked from commit b363f7488643882b9c53a1e2c6db2a110703cc1d) --- 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