mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 00:31:06 +02:00
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
This commit is contained in:
parent
fc61932a28
commit
523cbeba96
@ -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…
x
Reference in New Issue
Block a user