From 38e99cb37942716c3ae2d4d4e083fc38469dfcf5 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Tue, 7 Aug 2018 17:46:42 +0200 Subject: [PATCH] gettext-full: host compile with -fpic Signed-off-by: Andy Walsh (backported from 2bbc9376c6c081a8db491f047e32091da6ba0016) --- package/libs/gettext-full/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile index db6aee7508..4cb8d8d618 100644 --- a/package/libs/gettext-full/Makefile +++ b/package/libs/gettext-full/Makefile @@ -77,6 +77,8 @@ HOST_CONFIGURE_VARS += \ am_cv_func_iconv=no \ ac_cv_header_iconv_h=no \ +HOST_CFLAGS += $(HOST_FPIC) + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/libintl-full/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/libintl-full/include/