libxslt: remove $(FPIC) from TARGET_CFLAGS

libxslt already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libxslt build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Also with $(FPIC) in CFLAGS even the libxslt 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 12:02:48 +01:00
parent 8bd3bd86ad
commit a57ffe6c63

View file

@ -73,8 +73,6 @@ CONFIGURE_ARGS+= \
--without-mem-debug \
--without-debugger \
TARGET_CFLAGS += $(FPIC)
define Build/InstallDev/Xslt
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt \
$(1)/usr/include/libexslt $(1)/usr/lib \