commit: 0de39184a009f528d1d547f1ed03649fa6239351 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Feb 21 18:21:40 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 21 18:22:08 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de39184
toolchain.eclass: respect USE=pie for --enalble-host-pie Bug: https://bugs.gentoo.org/970413 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 8efe5417747b..d9b5d3eb03a8 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1852,7 +1852,7 @@ toolchain_src_configure() { confgcc+=( $(use_enable pie default-pie) ) if tc_version_is_at_least 14.1 ${PV} || tc_version_is_at_least 13.4.1_p20250814 ${PV} ; then - confgcc+=( --enable-host-pie ) + confgcc+=( $(use_enable pie host-pie) ) fi fi
