diff options
author | Yiyang Wu <xgreenlandforwyy@gmail.com> | 2021-03-03 10:31:41 +0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-03-06 00:55:51 -0800 |
commit | 529850d1d59227412ca01b98640ea0888b1595cc (patch) | |
tree | 5e6509c6475b0ead589706fab84f6790b23d79d0 | |
parent | dev-util/bazel: enable statically linked libstdc++ for gentoo prefix (diff) | |
download | gentoo-529850d1d59227412ca01b98640ea0888b1595cc.tar.gz gentoo-529850d1d59227412ca01b98640ea0888b1595cc.tar.bz2 gentoo-529850d1d59227412ca01b98640ea0888b1595cc.zip |
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@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | dev-util/bazel/metadata.xml | 1 | ||||
-rw-r--r-- | profiles/features/prefix/package.use | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/bazel/metadata.xml b/dev-util/bazel/metadata.xml index 7ddb1068e6a0..7eb6224be85d 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 20764aad409e..1990af48d80a 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 <xgreenlandforwyy@gmail.com> (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 |