dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncom...
[openwrt.git] / package / dropbear / Makefile
index 6fad273..bb1230c 100644 (file)
@@ -65,6 +65,9 @@ CONFIGURE_ARGS += \
        --disable-pututxline \
        --disable-zlib
 
+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
        $(SED) 's,^#define DO_HOST_LOOKUP,/* & */,g' $(PKG_BUILD_DIR)/options.h
This page took 0.022696 seconds and 4 git commands to generate.