mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -140,9 +140,6 @@ $(call Build/Configure/Default,, \
|
|||||||
$(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
|
$(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
|
||||||
MAKE_VARS += LDFLAGS="-Wl,--gc-sections"
|
|
||||||
|
|
||||||
MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
|
MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
|
||||||
PRECOMPILED_FILTER=1 \
|
PRECOMPILED_FILTER=1 \
|
||||||
STAGING_DIR="$(STAGING_DIR)"
|
STAGING_DIR="$(STAGING_DIR)"
|
||||||
|
|||||||
Reference in New Issue
Block a user