commit: 529850d1d59227412ca01b98640ea0888b1595cc Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com> AuthorDate: Wed Mar 3 02:31:41 2021 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sat Mar 6 08:55:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529850d1
dev-util/bazel: update prefix profile and package metedata Add an entry in profiles/features/prefix/package.use, to enable static-libs USE flag by default when using prefix's profile. Closes: https://github.com/gentoo/gentoo/pull/19736 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-util/bazel/metadata.xml | 1 + profiles/features/prefix/package.use | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dev-util/bazel/metadata.xml b/dev-util/bazel/metadata.xml index 7ddb1068e6a..7eb6224be85 100644 --- a/dev-util/bazel/metadata.xml +++ b/dev-util/bazel/metadata.xml @@ -19,5 +19,6 @@ </longdescription> <use> <flag name="tools">Install extra bazel tools to build from sources</flag> + <flag name="static-libs">Link libstdc++ statically</flag> </use> </pkgmetadata> diff --git a/profiles/features/prefix/package.use b/profiles/features/prefix/package.use index 20764aad409..1990af48d80 100644 --- a/profiles/features/prefix/package.use +++ b/profiles/features/prefix/package.use @@ -1,2 +1,6 @@ # Don't enable the security measures for convienence sys-apps/portage -rsync-verify + +# Yiyang Wu <[email protected]> (2021-03-03) +# bazel should link libstdc++ statically in prefix to avoid finding host's libstdc++ when building other packages +dev-util/bazel static-libs
