From f01adb54542f49af1dc64b36bb9aae17846f6400 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Wed, 26 Sep 2018 15:15:06 +0200 Subject: [PATCH] deps: add no-strict-aliasing to ICU cflags This commit adds -Wno-strict-aliasing to the icu_implementation target. The motivation for this is that this flags is enabled when building with macosx, and will make the output a little cleaner when building on other operating systems. PR-URL: https://github.com/nodejs/node/pull/23112 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- tools/icu/icu-generic.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp index 2acc95b409b81d..b8f0d13836dee1 100644 --- a/tools/icu/icu-generic.gyp +++ b/tools/icu/icu-generic.gyp @@ -51,7 +51,7 @@ 'direct_dependent_settings': { 'conditions': [ [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { - 'cflags': [ '-Wno-deprecated-declarations' ], + 'cflags': [ '-Wno-deprecated-declarations', '-Wno-strict-aliasing' ], 'cflags_cc': [ '-frtti' ], 'cflags_cc!': [ '-fno-rtti' ], }],