From: Cheng Zhao Date: Tue, 31 Dec 2013 11:40:19 +0000 (+0000) Subject: Disable compilation errors in node under Linux. X-Git-Tag: v0.10.0~6^2~42 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=627f487b36ef51bb71e105a903fabfe933b46cef;p=electron.git Disable compilation errors in node under Linux. --- diff --git a/common.gypi b/common.gypi index 08f80b92..fd6b90d3 100644 --- a/common.gypi +++ b/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': [