aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-26 19:47:23 +0000
committerPatrick Georgi <pgeorgi@google.com>2009-04-26 19:47:23 +0000
commitdd315e107d39e27389f2568de842322ac5ef0746 (patch)
tree3a17dbf97ffbf7100f3ee8ffa630fee4b9baee76
parentc6b7dd16890aa63eadd510621e4cd19bb6c5badc (diff)
downloadflashrom-dd315e107d39e27389f2568de842322ac5ef0746.tar.gz
flashrom-dd315e107d39e27389f2568de842322ac5ef0746.tar.bz2
flashrom-dd315e107d39e27389f2568de842322ac5ef0746.zip
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>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4699784c..2fa673e8 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 @@ distclean: clean
rm -f .dependencies
dep:
- @$(CC) -MM *.c > .dependencies
+ @$(CC) $(SVNDEF) -MM *.c > .dependencies
pciutils:
@echo; printf "Checking for pciutils and zlib... "