summaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-09 15:43:23 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-09 15:43:23 +1100
commit33750c24c42ed0dfa55cd097aee8f35dc497131a (patch)
tree33326bdb04b43342e451899cc45716bb388dca71 /Makefile.rules
parent61d4601dfe04a7af46b654db12e12e4aa0785f33 (diff)
downloadtalos-skiboot-33750c24c42ed0dfa55cd097aee8f35dc497131a.tar.gz
talos-skiboot-33750c24c42ed0dfa55cd097aee8f35dc497131a.zip
Skip -std=gnu11 for sparse
Some versions of sparse (all?) don't support -std=gnu11 CFLAG, so filter it out when calling sparse. Doesn't affect non-sparse build Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 3534f5df..ea524886 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -35,9 +35,9 @@ endef
ifeq ($(C),1)
ifeq ($(VERBOSE),1)
- cmd_check = $(CHECK) $(CHECKFLAGS) $(call cook_cflags,$@) $<
+ cmd_check = $(CHECK) $(CHECKFLAGS) $(filter-out $(CHECK_CFLAGS_SKIP),$(call cook_cflags,$@)) $<
else
- cmd_check = @$(CHECK) $(CHECKFLAGS) $(call cook_cflags,$@) $<
+ cmd_check = @$(CHECK) $(CHECKFLAGS) $(filter-out $(CHECK_CFLAGS_SKIP),$(call cook_cflags,$@)) $<
endif
endif
OpenPOWER on IntegriCloud