]> khamidou — GitHub mirrors - electron.git/commitdiff
Disable compilation errors in node under Linux.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 31 Dec 2013 11:40:19 +0000 (11:40 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 31 Dec 2013 11:40:19 +0000 (11:40 +0000)
common.gypi

index 08f80b92ecf62230847cef0ff3f180460869716b..fd6b90d345e493293fbd650d55e53d0315dd9100 100644 (file)
             '-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': [