dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed
SVN-Revision: 25826
This commit is contained in:
parent
0670771013
commit
c05198bf8e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue