aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
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.main
parent61d4601dfe04a7af46b654db12e12e4aa0785f33 (diff)
downloadskiboot-33750c24c42ed0dfa55cd097aee8f35dc497131a.zip
skiboot-33750c24c42ed0dfa55cd097aee8f35dc497131a.tar.gz
skiboot-33750c24c42ed0dfa55cd097aee8f35dc497131a.tar.bz2
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.main')
-rw-r--r--Makefile.main1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.main b/Makefile.main
index a5eb01e..ccfba6c 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -119,6 +119,7 @@ endif
CHECK = sparse
CHECKFLAGS := $(CF)
+CHECK_CFLAGS_SKIP = -std=gnu11
.SECONDARY: