mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
uci: only use $(FPIC) on library parts, saves a few hundred bytes
SVN-Revision: 18092
This commit is contained in:
parent
762991f315
commit
fff7416664
@ -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
Block a user