mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Disable compilation errors in node under Linux.
This commit is contained in:
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': [
|
||||
|
||||
Reference in New Issue
Block a user