diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-09 15:43:23 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-09 15:43:23 +1100 |
commit | 33750c24c42ed0dfa55cd097aee8f35dc497131a (patch) | |
tree | 33326bdb04b43342e451899cc45716bb388dca71 /Makefile.main | |
parent | 61d4601dfe04a7af46b654db12e12e4aa0785f33 (diff) | |
download | skiboot-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.main | 1 |
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: |