Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit f2b1b83

Browse files
author
Ian Sturdy
authored
Fix ubsan config with clang. (#118)
1 parent 72dce31 commit f2b1b83

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/bazel.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ common:asan --cc_output_directory_tag=asan
2424
# --config=ubsan : Undefined Behavior Sanitizer.
2525
common:ubsan --copt -fsanitize=undefined
2626
common:ubsan --linkopt -fsanitize=undefined
27+
common:ubsan --linkopt -lubsan
2728
common:ubsan --cc_output_directory_tag=ubsan

0 commit comments

Comments
 (0)