summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-0.3.13.12.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2026-03-10 12:25:57 +0000
committerSam James <sam@gentoo.org>2026-03-10 23:52:41 +0000
commit5567fca771e4bb118f6dbc2f12fa7c85229e3b41 (patch)
tree3c19d5518ca44e7f91145c61a13add07337c98b9 /dev-lang/python/python-0.3.13.12.ebuild
parent32f28bfa142fd0916e00fe1e9e8f45b1b78877fa (diff)
downloadgentoo-5567fca771e4bb118f6dbc2f12fa7c85229e3b41.tar.gz
gentoo-5567fca771e4bb118f6dbc2f12fa7c85229e3b41.tar.bz2
gentoo-5567fca771e4bb118f6dbc2f12fa7c85229e3b41.zip
dev-lang/python: pass -fno-lto in LDFLAGS for CBUILD too
Needed for cross-compiling when -flto is in *FLAGS including LDFLAGS. We already try to disable LTO for the CBUILD Python we build for cross but not in LDFLAGS, so do that too to avoid a configure test failure. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-0.3.13.12.ebuild')
-rw-r--r--dev-lang/python/python-0.3.13.12.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/python-0.3.13.12.ebuild b/dev-lang/python/python-0.3.13.12.ebuild
index 66afeaa9d1fa..ea54534fb3aa 100644
--- a/dev-lang/python/python-0.3.13.12.ebuild
+++ b/dev-lang/python/python-0.3.13.12.ebuild
@@ -173,10 +173,10 @@ build_cbuild_python() {
#
# -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway)
local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
- local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
+ local -x LDFLAGS_NODIST="${BUILD_LDFLAGS} -fno-lto"
local -x CFLAGS= LDFLAGS=
local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
- local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
+ local -x BUILD_LDFLAGS="${LDFLAGS_NODIST}"
# We need to build our own Python on CBUILD first, and feed it in.
# bug #847910