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

ppp: use --gc-sections to save a tiny bit of space


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 4297f4f9
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,9 @@ $(call Build/Configure/Default,, \
$(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections
MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
PRECOMPILED_FILTER=1 \
STAGING_DIR="$(STAGING_DIR)"
......
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