uci: only use $(FPIC) on library parts, saves a few hundred bytes

SVN-Revision: 18092
master
Felix Fietkau 15 years ago
parent 762991f315
commit fff7416664
  1. 2
      package/uci/Makefile

@ -53,13 +53,13 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
UCI_MAKEOPTS = \ UCI_MAKEOPTS = \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
COPTS="$(TARGET_CFLAGS)" \ COPTS="$(TARGET_CFLAGS)" \
DEBUG="$(DEBUG)" \ DEBUG="$(DEBUG)" \
VERSION="$(UCI_VERSION)" \ VERSION="$(UCI_VERSION)" \
CPPFLAGS="-I$(PKG_BUILD_DIR) $(TARGET_CPPFLAGS)" \ CPPFLAGS="-I$(PKG_BUILD_DIR) $(TARGET_CPPFLAGS)" \
FPIC="$(FPIC)" \
OS="Linux" OS="Linux"
# work around a nasty gcc bug # work around a nasty gcc bug

Loading…
Cancel
Save