aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-02-15 13:47:07 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-02-17 17:48:17 +0100
commitd40c161566ba2fcf91dcb540f635174e374ca579 (patch)
treea8f4285cf343ca76653bc97ef6fa6081a1c681e5
parentb40a6cb5d68b309aaceff9beacb0919e7f9b5232 (diff)
downloadsparse-d40c161566ba2fcf91dcb540f635174e374ca579.tar.gz
build: CHECKER is not needed, remove it
This variable is only used for selfcheck and there is no reasons to be configurable from the command line or the environment. So, get rid of 'CHECKER' by inlining it in the check command. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bd2b089f..0ad2b19b 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,6 @@ CFLAGS += -Wall -Wwrite-strings
LD = $(CC)
AR = ar
PKG_CONFIG = pkg-config
-CHECKER = CHECK=./sparse ./cgcc -no-compile
CHECKER_FLAGS = -Wno-vla
DESTDIR=
@@ -208,7 +207,7 @@ cflags += $($(*)-cflags) $(CPPFLAGS) $(CFLAGS)
%.sc: %.c sparse
@echo " CHECK $<"
- $(Q) $(CHECKER) $(CHECKER_FLAGS) $(cflags) -c $<
+ $(Q)CHECK=./sparse ./cgcc -no-compile $(CHECKER_FLAGS) $(cflags) -c $<
selfcheck: $(OBJS:.o=.sc)