aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit2895f674c47a56cd272b6d06e3d8e3113772ee14 (patch)
treeda0ab3323a38be756cc843806e692b610480e07d /package
parente71f7633f7c752750b00c8a574531c19eaf496bb (diff)
downloadupstream-2895f674c47a56cd272b6d06e3d8e3113772ee14.tar.gz
upstream-2895f674c47a56cd272b6d06e3d8e3113772ee14.tar.bz2
upstream-2895f674c47a56cd272b6d06e3d8e3113772ee14.zip
ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27159 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/ppp/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 3aefed3142..6ee52abc32 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)"