diff options
-rw-r--r-- | eclass/bazel.eclass | 4 |
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 } |