From: Sebastian Kemper Date: Sat, 24 Feb 2018 11:02:48 +0000 (+0100) Subject: libxslt: remove $(FPIC) from TARGET_CFLAGS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a57ffe6c639c482d49984bd587a13c947599869a;p=openwrt-packages.git 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 --- diff --git a/libs/libxslt/Makefile b/libs/libxslt/Makefile index 9f276d3fd..4de059724 100644 --- a/libs/libxslt/Makefile +++ b/libs/libxslt/Makefile @@ -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 \