diff options
Diffstat (limited to 'package/utils/mtd-utils')
-rw-r--r-- | package/utils/mtd-utils/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/utils/mtd-utils/Makefile b/package/utils/mtd-utils/Makefile index 2ce7d671fe..ca60726d81 100644 --- a/package/utils/mtd-utils/Makefile +++ b/package/utils/mtd-utils/Makefile @@ -61,6 +61,9 @@ CONFIGURE_ARGS += \ --without-xattr \ --without-lzo +TARGET_CFLAGS += -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections + define Package/ubi-utils/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) \ |