[clinfo] 25/36: More aggressive sparse, also use CPPFLAGS and CFLAGS

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository clinfo.

commit d746c76315d714d3aa4cd2deed74cd20aca70100
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Dec 9 22:59:00 2015 +0100

    More aggressive sparse, also use CPPFLAGS and CFLAGS
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index be5d411..8c18fe6 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ endif
 CFLAGS+=-std=c99 -g -Wall -Wextra
 
 SPARSE ?= sparse
-SPARSEFLAGS=-Wno-decl
+SPARSEFLAGS=-Wsparse-all -Wno-decl
 
 clinfo:
 
@@ -29,6 +29,6 @@ clean:
 	$(RM) clinfo.o clinfo
 
 sparse: clinfo.c
-	$(SPARSE) $(SPARSEFLAGS) $^
+	$(SPARSE) $(CPPFLAGS) $(CFLAGS) $(SPARSEFLAGS) $^
 
 .PHONY: clean sparse

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list