Skip to content

Commit

Permalink
fix build on arm64 (#443)
Browse files Browse the repository at this point in the history
* fix build on arm64

* update .bazelrc

* fix --cxxopt=-Wno-mismatched-new-delete not works on linux_aarch64
  • Loading branch information
tongke6 authored Dec 10, 2024
1 parent b91787c commit fc0fe17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ build:macos --macos_minimum_os=13.0
build:macos --host_macos_minimum_os=13.0
build:macos --action_env MACOSX_DEPLOYMENT_TARGET=13.0

# NOTE: fix build on linux_aarch64, since `build:linux_aarch64` works only if `--config linux_aarch64` option included.
build:linux --cxxopt=-Wno-mismatched-new-delete

build:asan --features=asan
build:ubsan --features=ubsan

Expand Down

0 comments on commit fc0fe17

Please sign in to comment.