ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)

SVN-Revision: 27159
lede-17.01
Felix Fietkau 2011-06-12 14:07:08 +00:00
parent fa59bb0958
commit 01e7d775e7
1 changed files with 0 additions and 3 deletions

View File

@ -140,9 +140,6 @@ $(call Build/Configure/Default,, \
$(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/ $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
endef endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections
MAKE_VARS += LDFLAGS="-Wl,--gc-sections"
MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \ MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
PRECOMPILED_FILTER=1 \ PRECOMPILED_FILTER=1 \
STAGING_DIR="$(STAGING_DIR)" STAGING_DIR="$(STAGING_DIR)"