Skip to content

Commit

Permalink
build: Use a more correct workaround for the slow cross-compile linking
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Dec 14, 2023
1 parent b625a5d commit 339dc7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ build:linux-aarch64-musl --copt=-fPIC
build:linux-aarch64-musl --dynamic_mode=off
# TODO(robinlinden): asio assumes __GLIBC__ is defined.
build:linux-aarch64-musl --copt=-Wno-error=undef
# --incompatible_sandbox_hermetic_tmp (defaults to true in Bazel 7) leads to
# incredibly long link times.
# See: https://github.com/uber/hermetic_cc_toolchain/issues/134
build:linux-aarch64-musl --noincompatible_sandbox_hermetic_tmp
build:linux-aarch64-musl --sandbox_add_mount_pair=/tmp


# Fuzzing options
Expand Down

0 comments on commit 339dc7b

Please sign in to comment.