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

SVN-Revision: 18092
This commit is contained in:
Felix Fietkau 2009-10-20 08:26:39 +00:00
parent 762991f315
commit fff7416664

View File

@ -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