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
endef
TARGET_CFLAGS += $(FPIC)
UCI_MAKEOPTS = \
$(TARGET_CONFIGURE_OPTS) \
COPTS="$(TARGET_CFLAGS)" \
DEBUG="$(DEBUG)" \
VERSION="$(UCI_VERSION)" \
CPPFLAGS="-I$(PKG_BUILD_DIR) $(TARGET_CPPFLAGS)" \
FPIC="$(FPIC)" \
OS="Linux"
# work around a nasty gcc bug