summaryrefslogtreecommitdiff
path: root/package/ppp/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-12 14:07:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-12 14:07:08 +0000
commite81bc2b5738927a41c44f9a9f99b34be0474a4be (patch)
treeda0ab3323a38be756cc843806e692b610480e07d /package/ppp/Makefile
parent5151e90913dea5fdd4626591637ef0b2127843bf (diff)
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/ppp/Makefile')
-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)"