Browse Source

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>
lilik-openwrt-22.03
Sebastian Kemper 7 years ago
parent
commit
a57ffe6c63
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libs/libxslt/Makefile

+ 0
- 2
libs/libxslt/Makefile 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 \


Loading…
Cancel
Save