Suppress gcc unknown pragma warnings in specs
bandit uses some pragma that travis ci's gcc doesn't know about
This commit is contained in:
parent
25f927e321
commit
95fbdb6fdb
1 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,9 @@
|
|||
'spec',
|
||||
'externals/bandit',
|
||||
],
|
||||
'cflags': [
|
||||
'-Wno-unknown-pragmas',
|
||||
],
|
||||
'sources': [
|
||||
'<!@(find spec/compiler examples/grammars -name "*.h" -or -name "*.cc")',
|
||||
],
|
||||
|
|
@ -73,6 +76,9 @@
|
|||
'libraries': ['-lboost_regex'],
|
||||
}]
|
||||
],
|
||||
'cflags': [
|
||||
'-Wno-unknown-pragmas',
|
||||
],
|
||||
'sources': [
|
||||
'<!@(find spec/runtime -name "*.h" -or -name "*.cc" -or -name "*.c")',
|
||||
'<!@(find examples/parsers -name "*.c")',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue