Skip to content

Commit f01adb5

Browse files
committed
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 <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e7f710c commit f01adb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/icu/icu-generic.gyp

Lines changed: 1 addition & 1 deletion
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)