From: Sebastian Kemper Date: Sat, 24 Feb 2018 10:56:02 +0000 (+0100) Subject: tiff: remove $(FPIC) from TARGET_CFLAGS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fad60143571b60927b52c81ffdf1869b358a9077;p=openwrt-packages.git tiff: remove $(FPIC) from TARGET_CFLAGS tiff already makes sure that the compiler emits position-independent code. Adding $(FPIC) makes no difference. In addition the tiff build system puts its own flag behind the CFLAGS, overriding whatever was set before. Also with $(FPIC) in CFLAGS even the tiff utils get compiled with PIC, which us undesirable. Signed-off-by: Sebastian Kemper --- diff --git a/libs/tiff/Makefile b/libs/tiff/Makefile index 1f28ab148..78d931268 100644 --- a/libs/tiff/Makefile +++ b/libs/tiff/Makefile @@ -58,8 +58,6 @@ $(call Package/tiff/Default) DEPENDS:=+libtiff endef -TARGET_CFLAGS += $(FPIC) - define Build/Configure $(call Build/Configure/Default, \ $(if $(CONFIG_PACKAGE_libtiffxx), \