aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iw/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-13 11:02:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-13 11:02:05 +0000
commit9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab (patch)
treea4b9f326da1a1c80e864642bde6601c90eef63ca /package/network/utils/iw/Makefile
parentb4b0a55aabd2839c5c995bb226f528efca73eea5 (diff)
downloadupstream-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.tar.gz
upstream-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.tar.bz2
upstream-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.zip
iw: reduce size and make the phy dump output more readable
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39041
Diffstat (limited to 'package/network/utils/iw/Makefile')
-rw-r--r--package/network/utils/iw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile
index 1ee8861648..75a8c4fc1f 100644
--- a/package/network/utils/iw/Makefile
+++ b/package/network/utils/iw/Makefile
@@ -41,8 +41,8 @@ TARGET_CPPFLAGS:= \
-D_GNU_SOURCE
MAKE_FLAGS += \
- CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -ffunction-sections -fdata-sections" \
+ LDFLAGS="$(TARGET_LDFLAGS) -Wl,--gc-sections" \
NL1FOUND="" NL2FOUND=Y \
NLLIBNAME="libnl-tiny" \
LIBS="-lm -lnl-tiny" \