projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd-utils: activate --gc-sections
[openwrt/staging/dedeckeh.git]
/
package
/
utils
/
mtd-utils
/
Makefile
diff --git
a/package/utils/mtd-utils/Makefile
b/package/utils/mtd-utils/Makefile
index 2ce7d671fee25c64d6be896dae45664c87ad8f3b..ca60726d81a94e298a9392147ce61c8e5b896509 100644
(file)
--- 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) \