summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-12-01 02:13:05 (GMT)
committerYann Collet <cyan@fb.com>2020-12-01 02:13:05 (GMT)
commit16bad2caafd95ec55c35f243e000e1a1f2b32caa (patch)
tree864ed9202d88e6dc78f9773471427a82795c25c4
parent19564bce78fcfea15f6b5435eb28a3b8767ac8ec (diff)
downloadlz4-16bad2caafd95ec55c35f243e000e1a1f2b32caa.zip
lz4-16bad2caafd95ec55c35f243e000e1a1f2b32caa.tar.gz
lz4-16bad2caafd95ec55c35f243e000e1a1f2b32caa.tar.bz2
fix scanbuild test
seems to require explicit environment variables
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ba71bea..cce932f 100644
--- a/Makefile
+++ b/Makefile
@@ -168,10 +168,8 @@ usan32: clean
SCANBUILD ?= scan-build
SCANBUILD_FLAGS += --status-bugs -v --force-analyze-debug-code
.PHONY: staticAnalyze
-staticAnalyze: CPPFLAGS = -DLZ4_DEBUG=1
-staticAnalyze: CFLAGS = -g
staticAnalyze: clean
- $(SCANBUILD) $(SCANBUILD_FLAGS) $(MAKE) all V=1 DEBUGLEVEL=1
+ CPPFLAGS=-DLZ4_DEBUG=1 CFLAGS=-g $(SCANBUILD) $(SCANBUILD_FLAGS) $(MAKE) all V=1 DEBUGLEVEL=1
.PHONY: cppcheck
cppcheck: