diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-09-26 15:15:06 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-10-04 12:27:02 +0200 |
commit | f01adb54542f49af1dc64b36bb9aae17846f6400 (patch) | |
tree | 9a2a1b59a374a7953fe0cc853ece7c2ce05cf05f /tools/icu | |
parent | e7f710c1d4729890806610e5450d7a0edfb4ac11 (diff) | |
download | android-node-v8-f01adb54542f49af1dc64b36bb9aae17846f6400.tar.gz android-node-v8-f01adb54542f49af1dc64b36bb9aae17846f6400.tar.bz2 android-node-v8-f01adb54542f49af1dc64b36bb9aae17846f6400.zip |
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 <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/icu')
-rw-r--r-- | tools/icu/icu-generic.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp index 2acc95b409..b8f0d13836 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' ], }], |