diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-02 12:47:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-02 12:47:52 +0000 |
commit | a94738528451543fdd52b2760ae78205d5f5fb9c (patch) | |
tree | 072ed187314137bb2b0c771285f674cf0a4059c4 /package/dropbear | |
parent | 25791aaf8d752872b7fc106fc9b183e8f2f75b13 (diff) | |
download | master-187ad058-a94738528451543fdd52b2760ae78205d5f5fb9c.tar.gz master-187ad058-a94738528451543fdd52b2760ae78205d5f5fb9c.tar.bz2 master-187ad058-a94738528451543fdd52b2760ae78205d5f5fb9c.zip |
dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25826 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear')
-rw-r--r-- | package/dropbear/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 5bcc5fb9b0..bb1230cefc 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -65,7 +65,8 @@ CONFIGURE_ARGS += \ --disable-pututxline \ --disable-zlib -TARGET_CFLAGS += -DARGTYPE=3 +TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections define Build/Configure $(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(PKG_BUILD_DIR)/options.h |