projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214a66e
)
hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 12:01:08 +0000
(12:01 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 12:01:08 +0000
(12:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25821
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/hostapd/Makefile
patch
|
blob
|
history
diff --git
a/package/hostapd/Makefile
b/package/hostapd/Makefile
index
3b4978f
..
83622b4
100644
(file)
--- a/
package/hostapd/Makefile
+++ b/
package/hostapd/Makefile
@@
-225,6
+225,9
@@
TARGET_CPPFLAGS := \
-DCONFIG_LIBNL20 \
-D_GNU_SOURCE
+TARGET_CFLAGS += -ffunction-sections -fdata-sections
+TARGET_LDFLAGS += -Wl,--gc-sections
+
ifdef CONFIG_PACKAGE_kmod-mac80211
TARGET_LDFLAGS += -lm -lnl-tiny
endif
This page took
0.037612 seconds
and
4
git commands to generate.