From 1a96fe33343f82721ba8bc93adb5a67ddcf70ec4 Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Tue, 13 Sep 2016 20:44:27 +0200 Subject: [PATCH] build,osx: fix warnings on tests compilation with gyp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `-Wno-long-long` to `WARNING_CFLAGS`. PR-URL: https://github.com/libuv/libuv/pull/1049 Reviewed-By: Saúl Ibarra Corretgé --- uv.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uv.gyp b/uv.gyp index 4d1a0346..b969a8cd 100644 --- a/uv.gyp +++ b/uv.gyp @@ -470,6 +470,9 @@ [ 'OS != "zos"', { 'defines': [ '_GNU_SOURCE' ], 'cflags': [ '-Wno-long-long' ], + 'xcode_settings': { + 'WARNING_CFLAGS': [ '-Wno-long-long' ] + } }], ]}, ],