uci: only use $(FPIC) on library parts, saves a few hundred bytes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18092 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0ee55d9f55
commit
e218149d72
|
@ -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…
Reference in New Issue