diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-13 11:02:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-13 11:02:05 +0000 |
commit | 9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab (patch) | |
tree | a4b9f326da1a1c80e864642bde6601c90eef63ca /package/network/utils/iw/Makefile | |
parent | b4b0a55aabd2839c5c995bb226f528efca73eea5 (diff) | |
download | mtk-20170518-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.zip mtk-20170518-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.tar.gz mtk-20170518-9c3adcb2e6b2204e9e7e931b2d10b833d83bd7ab.tar.bz2 |
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/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile index 1ee8861..75a8c4f 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" \ |