summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 1cb7046c25..b4e83a4688 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -796,7 +796,7 @@ jumbo_static_library("fxcodec") {
"third_party:png",
]
}
- if (is_posix) {
+ if (is_posix || is_fuchsia) {
# core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
# conversion to check that an address is 16-bit aligned (benign).
cflags_c = [ "-Wno-pointer-to-int-cast" ]