summaryrefslogtreecommitdiff
path: root/eclass/bazel.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /eclass/bazel.eclass
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'eclass/bazel.eclass')
-rw-r--r--eclass/bazel.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass
index ac7ca241519c..9e09255fd66f 100644
--- a/eclass/bazel.eclass
+++ b/eclass/bazel.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: bazel.eclass
@@ -117,6 +117,8 @@ bazel_setup_bazelrc() {
EOF
if tc-is-cross-compiler; then
+ echo "build --distinct_host_configuration" >> "${T}/bazelrc" || die
+ else
echo "build --nodistinct_host_configuration" >> "${T}/bazelrc" || die
fi
}