From 2895f674c47a56cd272b6d06e3d8e3113772ee14 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 12 Jun 2011 14:07:08 +0000 Subject: 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 --- package/ppp/Makefile | 3 --- 1 file changed, 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)" -- cgit v1.2.3