diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/bazel/compile-0.9.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/bazel/compile-0.9.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bazel/compile-0.9.patch b/var/spack/repos/builtin/packages/bazel/compile-0.9.patch new file mode 100644 index 0000000000..135de3a00f --- /dev/null +++ b/var/spack/repos/builtin/packages/bazel/compile-0.9.patch @@ -0,0 +1,11 @@ +--- a/compile.sh ++++ b/compile.sh +@@ -92,7 +92,7 @@ + log "Building output/bazel" + # We set host and target platform directly since the defaults in @bazel_tools + # have not yet been generated. +-bazel_build "src:bazel${EXE_EXT}" \ ++CC=$SPACK_CC CXX=$SPACK_CXX bazel_build "src:bazel${EXE_EXT}" \ + --host_platform=//tools/platforms:host_platform \ + --platforms=//tools/platforms:target_platform \ + || fail "Could not build Bazel" |