From: Felix Fietkau Date: Tue, 20 Oct 2009 08:26:39 +0000 (+0000) Subject: uci: only use $(FPIC) on library parts, saves a few hundred bytes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fff7416664a2c6ff153c7ae446b26f8abb492576;p=openwrt%2Fstaging%2F981213.git uci: only use $(FPIC) on library parts, saves a few hundred bytes SVN-Revision: 18092 --- diff --git a/package/uci/Makefile b/package/uci/Makefile index e5e5231a55..b86a4fea16 100644 --- a/package/uci/Makefile +++ b/package/uci/Makefile @@ -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