From 4400e97473eb1d34e348d3cce25950dab0f88975 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Mon, 30 Jan 2023 18:02:32 +0100 Subject: 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 --- lang/python/python3/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/python/python3') diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index b666c4112..611e4c12d 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -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) -- cgit