diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/bazel/compile-0.29.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/bazel/compile-0.29.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bazel/compile-0.29.patch b/var/spack/repos/builtin/packages/bazel/compile-0.29.patch new file mode 100644 index 0000000000..6cb2eb0b57 --- /dev/null +++ b/var/spack/repos/builtin/packages/bazel/compile-0.29.patch @@ -0,0 +1,11 @@ +--- a/compile.sh ++++ b/compile.sh +@@ -63,7 +63,7 @@ + log "Building output/bazel" + # We set host and target platform directly because we are building for the local + # host. +-bazel_build "src:bazel_nojdk${EXE_EXT}" \ ++CC=$SPACK_CC CXX=$SPACK_CXX bazel_build "src:bazel_nojdk${EXE_EXT}" \ + --action_env=PATH \ + --host_platform=@local_config_platform//:host \ + --platforms=@local_config_platform//:host \ |