Enable scan-build for flashrom
Corresponding to flashrom svn r444.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
diff --git a/Makefile b/Makefile
index 4699784..2fa673e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
PROGRAM = flashrom
-CC = gcc
+CC ?= gcc
STRIP = strip
INSTALL = /usr/bin/install
PREFIX = /usr/local
@@ -57,7 +57,7 @@
rm -f .dependencies
dep:
- @$(CC) -MM *.c > .dependencies
+ @$(CC) $(SVNDEF) -MM *.c > .dependencies
pciutils:
@echo; printf "Checking for pciutils and zlib... "