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 <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-02-24 11:56:02 +01:00
parent 5b5659850d
commit fad6014357

View file

@ -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), \