mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	treewide: opt-out of tree-wide LTO usage
These fail to build with LTO enabled or packages depending on them do. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
		
							parent
							
								
									aef8bab9d7
								
							
						
					
					
						commit
						9fe7cc62a6
					
				@ -25,6 +25,7 @@ ifneq ($(BUILD_VARIANT),none)
 | 
				
			|||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PKG_FLAGS:=nonshared
 | 
					PKG_FLAGS:=nonshared
 | 
				
			||||||
 | 
					PKG_BUILD_FLAGS:=no-lto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include $(INCLUDE_DIR)/host-build.mk
 | 
					include $(INCLUDE_DIR)/host-build.mk
 | 
				
			||||||
include $(INCLUDE_DIR)/package.mk
 | 
					include $(INCLUDE_DIR)/package.mk
 | 
				
			||||||
 | 
				
			|||||||
@ -19,6 +19,8 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
 | 
				
			|||||||
PKG_LICENSE:=LGPL-2.1
 | 
					PKG_LICENSE:=LGPL-2.1
 | 
				
			||||||
PKG_LICENSE:=Makefile.am
 | 
					PKG_LICENSE:=Makefile.am
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PKG_BUILD_FLAGS:=no-lto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include $(INCLUDE_DIR)/package.mk
 | 
					include $(INCLUDE_DIR)/package.mk
 | 
				
			||||||
include $(INCLUDE_DIR)/host-build.mk
 | 
					include $(INCLUDE_DIR)/host-build.mk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 | 
				
			|||||||
PKG_NAME:=mbedtls
 | 
					PKG_NAME:=mbedtls
 | 
				
			||||||
PKG_VERSION:=2.28.2
 | 
					PKG_VERSION:=2.28.2
 | 
				
			||||||
PKG_RELEASE:=2
 | 
					PKG_RELEASE:=2
 | 
				
			||||||
PKG_BUILD_FLAGS:=no-mips16 gc-sections
 | 
					PKG_BUILD_FLAGS:=no-mips16 gc-sections no-lto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 | 
					PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 | 
				
			||||||
PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?
 | 
					PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user