Skip to content

Commit e93c94c

Browse files
danbevtargos
authored andcommitted
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 2b8f569 commit e93c94c

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
@@ -52,7 +52,7 @@
5252
'direct_dependent_settings': {
5353
'conditions': [
5454
[ 'os_posix == 1 and OS != "mac" and OS != "ios"', {
55-
'cflags': [ '-Wno-deprecated-declarations' ],
55+
'cflags': [ '-Wno-deprecated-declarations', '-Wno-strict-aliasing' ],
5656
'cflags_cc': [ '-frtti' ],
5757
'cflags_cc!': [ '-fno-rtti' ],
5858
}],

0 commit comments

Comments
 (0)