dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed
SVN-Revision: 25826
This commit is contained in:
parent
0670771013
commit
c05198bf8e
@ -65,7 +65,8 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-pututxline \
|
--disable-pututxline \
|
||||||
--disable-zlib
|
--disable-zlib
|
||||||
|
|
||||||
TARGET_CFLAGS += -DARGTYPE=3
|
TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections
|
||||||
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(PKG_BUILD_DIR)/options.h
|
$(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(PKG_BUILD_DIR)/options.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user