Skip to content
Snippets Groups Projects
Commit 20df5d86 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mdadm: use -ffunction-sections, -fdata-sections, --gc-sections


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 37062
parent 84ad1782
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,9 @@ define Package/mdadm/description
A tool for managing Linux Software RAID arrays.
endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment