Disable compilation errors in node under Linux.
This commit is contained in:
parent
c64a793364
commit
627f487b36
1 changed files with 14 additions and 0 deletions
14
common.gypi
14
common.gypi
|
@ -75,6 +75,20 @@
|
|||
'-Wno-return-type',
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'cflags': [
|
||||
'-Wno-parentheses-equality',
|
||||
'-Wno-unused-function',
|
||||
'-Wno-sometimes-uninitialized',
|
||||
'-Wno-pointer-sign',
|
||||
'-Wno-string-plus-int',
|
||||
'-Wno-unused-variable',
|
||||
'-Wno-deprecated-declarations',
|
||||
'-Wno-return-type',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['_target_name in ["node_lib", "atom_lib"]', {
|
||||
'include_dirs': [
|
||||
|
|
Loading…
Add table
Reference in a new issue