From: nbd Date: Sun, 12 Jun 2011 14:07:08 +0000 (+0000) Subject: ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=e81bc2b5738927a41c44f9a9f99b34be0474a4be;p=openwrt.git 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 --- 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)"