mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +04:00
treewide: opt out of LTO usage
These fail to build or packages depending on them do when enabling CONFIG_USE_LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
@@ -34,6 +34,9 @@ PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
HOST_BUILD_PARALLEL:=1
|
||||
# LTO is handled here individually, see --with-lto below
|
||||
# "no-lto" prevents CONFIG_USE_LTO to add additional and interfering flags
|
||||
PKG_BUILD_FLAGS:=no-lto
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION)
|
||||
|
||||
@@ -22,7 +22,7 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
PKG_BUILD_FLAGS:=no-mips16 no-lto
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_BUILD_PATENTED \
|
||||
CONFIG_IPV6 \
|
||||
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
PKG_BUILD_FLAGS:=no-mips16 no-lto
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
Reference in New Issue
Block a user