summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-20 08:26:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-20 08:26:39 +0000
commitfff7416664a2c6ff153c7ae446b26f8abb492576 (patch)
treee0fd6c08f72341eb50e949e3ac3ad2d263cf966e /package
parent762991f315a8163059add01e624232866bfc6c60 (diff)
downloadmtk-20170518-fff7416664a2c6ff153c7ae446b26f8abb492576.zip
mtk-20170518-fff7416664a2c6ff153c7ae446b26f8abb492576.tar.gz
mtk-20170518-fff7416664a2c6ff153c7ae446b26f8abb492576.tar.bz2
uci: only use $(FPIC) on library parts, saves a few hundred bytes
SVN-Revision: 18092
Diffstat (limited to 'package')
-rw-r--r--package/uci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uci/Makefile b/package/uci/Makefile
index e5e5231..b86a4fe 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