From c76c97cfcd36604381ed84b61660c3ccc1305b9d Mon Sep 17 00:00:00 2001 From: Dan Hirsch <thequux@thequux.com> Date: Sat, 26 May 2012 14:36:36 +0200 Subject: [PATCH] Allowed clang's scan-build to work --- common.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 5a1fa501..4f70745e 100644 --- a/common.mk +++ b/common.mk @@ -1,8 +1,9 @@ CFLAGS := $(shell pkg-config --cflags glib-2.0) -std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes LDFLAGS := $(shell pkg-config --libs glib-2.0) -CC := gcc +CC ?= gcc +$(info CC=$(CC)) # Set V=1 for verbose mode... -V := 0 +V ?= 0 CFLAGS += -DINCLUDE_TESTS $(EXTRA_CFLAGS) HUSH = $(TOPLEVEL)/lib/hush -- GitLab