Skip to content

Commit 1874124

Browse files
danbevjasnell
authored andcommittedOct 17, 2018
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: #23112 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 0d54892 commit 1874124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/icu/icu-generic.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
'direct_dependent_settings': {
5252
'conditions': [
5353
[ 'os_posix == 1 and OS != "mac" and OS != "ios"', {
54-
'cflags': [ '-Wno-deprecated-declarations' ],
54+
'cflags': [ '-Wno-deprecated-declarations', '-Wno-strict-aliasing' ],
5555
'cflags_cc': [ '-frtti' ],
5656
'cflags_cc!': [ '-fno-rtti' ],
5757
}],

0 commit comments

Comments
 (0)
Please sign in to comment.