diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-15 13:47:07 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-17 17:48:17 +0100 |
commit | d40c161566ba2fcf91dcb540f635174e374ca579 (patch) | |
tree | a8f4285cf343ca76653bc97ef6fa6081a1c681e5 | |
parent | b40a6cb5d68b309aaceff9beacb0919e7f9b5232 (diff) | |
download | sparse-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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |