summaryrefslogtreecommitdiff
path: root/package/ppp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-12 14:07:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-12 14:07:08 +0000
commit01e7d775e79427108e1229008e28a5b76c2aa895 (patch)
treeff7bcdebb62710bc4ac2a557af10ed8318fc4c3d /package/ppp
parentfa59bb09580425861024830ff75a5c19e5d803f6 (diff)
downloadmtk-20170518-01e7d775e79427108e1229008e28a5b76c2aa895.zip
mtk-20170518-01e7d775e79427108e1229008e28a5b76c2aa895.tar.gz
mtk-20170518-01e7d775e79427108e1229008e28a5b76c2aa895.tar.bz2
ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
SVN-Revision: 27159
Diffstat (limited to 'package/ppp')
-rw-r--r--package/ppp/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 3aefed3..6ee52ab 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -140,9 +140,6 @@ $(call Build/Configure/Default,, \
$(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
endef
-TARGET_CFLAGS += -ffunction-sections -fdata-sections
-MAKE_VARS += LDFLAGS="-Wl,--gc-sections"
-
MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
PRECOMPILED_FILTER=1 \
STAGING_DIR="$(STAGING_DIR)"