From: Felix Fietkau 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-Tag: reboot~16584 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01e7d775e79427108e1229008e28a5b76c2aa895;p=oweals%2Fopenwrt.git ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462) SVN-Revision: 27159 --- 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)"