diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-01-30 14:17:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-30 14:17:09 -0800 |
commit | 808dab2b58bdf8fb28ad932f32659ede97bb2387 (patch) | |
tree | 7f691c6c5aa06e34af321dfe368f8fab02f6675a /Makefile | |
parent | Merge branch 'sg/completion-worktree' (diff) | |
parent | Makefile: use compat regex with SANITIZE=address (diff) | |
download | tgif-808dab2b58bdf8fb28ad932f32659ede97bb2387.tar.xz |
Merge branch 'jk/asan-build-fix'
Work around test breakages caused by custom regex engine used in
libasan, when address sanitizer is used with more recent versions
of gcc and clang.
* jk/asan-build-fix:
Makefile: use compat regex with SANITIZE=address
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1221,6 +1221,9 @@ endif ifneq ($(filter leak,$(SANITIZERS)),) BASIC_CFLAGS += -DSUPPRESS_ANNOTATED_LEAKS endif +ifneq ($(filter address,$(SANITIZERS)),) +NO_REGEX = NeededForASAN +endif endif ifndef sysconfdir |