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:
Max Brunsfeld 2014-07-14 21:14:20 -07:00
parent 25f927e321
commit 95fbdb6fdb

View file

@ -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")',