summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-01-30 18:02:32 +0100
committerAndre Heider <a.heider@gmail.com>2023-04-08 08:38:54 +0200
commit4400e97473eb1d34e348d3cce25950dab0f88975 (patch)
tree7272b0b197431e43b0f04eb48ecaa3eaa256bd90 /lang/python/python3
parente7d9c865036d7bc2ac30604e8573f25ae601aed1 (diff)
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>
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/Makefile3
1 files changed, 3 insertions, 0 deletions
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)