From 608a331abeea26d006a906b5c0898bef35add5d0 Mon Sep 17 00:00:00 2001 From: Nabil Wadih Date: Fri, 19 Apr 2024 17:23:41 -0700 Subject: [PATCH] Fix OSS bazel build on MacOS see https://github.com/bazelbuild/bazel/issues/10472 for more info on why this is needed. Without it, the build will try to use system headers which conflict with project defined headers in this build for boringssl --- .bazelrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 0785f8ff..49bd99a0 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,3 +1,4 @@ build --action_env=BAZEL_CXXOPTS=-std=c++17 # Definition of --config=memcheck -build:memcheck --strip=never --test_timeout=3600 \ No newline at end of file +build:memcheck --strip=never --test_timeout=3600 +build --sandbox_block_path=/usr/local \ No newline at end of file