From a57ffe6c639c482d49984bd587a13c947599869a Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 24 Feb 2018 12:02:48 +0100 Subject: [PATCH] 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 --- libs/libxslt/Makefile | 2 -- 1 file changed, 2 deletions(-) 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 \