From fad60143571b60927b52c81ffdf1869b358a9077 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 24 Feb 2018 11:56:02 +0100 Subject: 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 --- libs/tiff/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/tiff') 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), \ -- cgit v1.2.3