Skip to content

Commit

Permalink
bazel: set D_FORTIFY_SOURCE to 0 when asan is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Jan 16, 2021
1 parent bba0a26 commit 60be0d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build -c opt
build:asan -c dbg
build:asan --copt -fsanitize=address
build:asan --copt -fno-omit-frame-pointer
build:asan --copt -Wno-macro-redefined
build:asan --copt -D_FORTIFY_SOURCE=0
build:asan --linkopt -fsanitize=address

# Thread sanitizer
Expand Down

0 comments on commit 60be0d4

Please sign in to comment.