dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed

SVN-Revision: 25826
owl
Felix Fietkau 2011-03-02 12:47:52 +00:00
parent 0670771013
commit c05198bf8e
1 changed files with 2 additions and 1 deletions

View File

@ -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