From e81bc2b5738927a41c44f9a9f99b34be0474a4be Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 12 Jun 2011 14:07:08 +0000 Subject: [PATCH] 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 3aefed314..6ee52abc3 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)" -- 2.20.1