summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-12-03 01:01:02 (GMT)
committerGitHub <noreply@github.com>2022-12-03 01:01:02 (GMT)
commite7e7b7ef9e934f666027f061d70a83eef17a9703 (patch)
tree62eac9db1eb99cf9836562f7168e1e5dc27a2fe8 /Makefile
parent8f2fd69708e49245d391793dba39378dbf47b14c (diff)
parent4dafb855a6d33ffe21b978274e7e650e41c2feda (diff)
downloadlz4-e7e7b7ef9e934f666027f061d70a83eef17a9703.zip
lz4-e7e7b7ef9e934f666027f061d70a83eef17a9703.tar.gz
lz4-e7e7b7ef9e934f666027f061d70a83eef17a9703.tar.bz2
Merge pull request #1175 from lz4/usan32
fixed usan32 tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e70c3db..da56ebc 100644
--- a/Makefile
+++ b/Makefile
@@ -162,10 +162,10 @@ usan: clean
CC=$(CC) CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
.PHONY: usan32
-usan32: CFLAGS = -m32 -O3 -g -fsanitize=undefined
+usan32: CFLAGS = -m32 -O3 -g -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=pointer-overflow
usan32: LDFLAGS = $(CFLAGS)
usan32: clean
- $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
+ CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' $(MAKE) V=1 test FUZZER_TIME="-T30s" NB_LOOPS=-i1
SCANBUILD ?= scan-build
SCANBUILD_FLAGS += --status-bugs -v --force-analyze-debug-code