mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -58,8 +58,6 @@ $(call Package/tiff/Default)
|
|||||||
DEPENDS:=+libtiff
|
DEPENDS:=+libtiff
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
$(if $(CONFIG_PACKAGE_libtiffxx), \
|
$(if $(CONFIG_PACKAGE_libtiffxx), \
|
||||||
|
|||||||
Reference in New Issue
Block a user