| commit | bfc3453fdc85d87b45c896f68bf2e49ebdaeef0a | [log] [tgz] |
|---|---|---|
| author | Jason Simmons <jsimmons@google.com> | Tue May 14 23:03:08 2024 +0000 |
| committer | Jason Simmons <jsimmons@google.com> | Tue May 14 23:03:08 2024 +0000 |
| tree | 757345920b7bd4004632fd8c1ff4ab82bfa45242 | |
| parent | af4c2d86d399b15f31f19aafe49e540578a6be39 [diff] |
Apply the OS_CODE macro redefinition workaround to iOS builds The issue described in https://flutter.googlesource.com/third_party/freetype2/+/af4c2d86d399b15f31f19aafe49e540578a6be39 happens in both macOS targets and iOS targets when building with the latest version of Clang. Change-Id: Ia7684ba11d0ac36074b1361fa1374ee8a59b86f0 Reviewed-on: https://flutter-review.googlesource.com/c/third_party/freetype2/+/57540 Reviewed-by: Zach Anderson <zra@google.com>
diff --git a/BUILD.gn b/BUILD.gn index 318884b..72b0aec 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -50,7 +50,7 @@ config("freetype_private_config") { cflags = [] - if (is_mac && is_clang) { + if ((is_mac || is_ios) && is_clang) { cflags += [ "-Wno-macro-redefined", ]