diff --git a/generate/templates/templates/binding.gyp b/generate/templates/templates/binding.gyp index 1be9be490..e369a0795 100644 --- a/generate/templates/templates/binding.gyp +++ b/generate/templates/templates/binding.gyp @@ -98,16 +98,9 @@ } ], [ - "OS=='linux' and '=43', { + ['gcc_version>=43', { 'cflags': ['-Wno-old-style-declaration'], }], ['OS=="solaris"', {