mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
SVN-Revision: 27159
This commit is contained in:
		
							parent
							
								
									fa59bb0958
								
							
						
					
					
						commit
						01e7d775e7
					
				@ -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)"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user