projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523cbeb
)
dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompr...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 12:47:57 +0000
(12:47 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 12:47:57 +0000
(12:47 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25827
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/dnsmasq/Makefile
patch
|
blob
|
history
diff --git
a/package/dnsmasq/Makefile
b/package/dnsmasq/Makefile
index
493797f
..
b71db58
100644
(file)
--- a/
package/dnsmasq/Makefile
+++ b/
package/dnsmasq/Makefile
@@
-33,12
+33,15
@@
define Package/dnsmasq/conffiles
/etc/dnsmasq.conf
endef
+TARGET_CFLAGS += -ffunction-sections -fdata-sections
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
BINDIR="/usr/sbin" MANDIR="/usr/man" \
AWK="awk" \
+ LDFLAGS="-Wl,--gc-sections" \
all
endef
This page took
0.023632 seconds
and
4
git commands to generate.