From 8d970f7496a792ceffc0c81a037aafda8932c3fb Mon Sep 17 00:00:00 2001 From: Fabrice de Gans-Riberi Date: Wed, 4 Apr 2018 18:27:21 +0000 Subject: Prepare for |is_posix| switch in the Fuchsia build |is_posix| will be switched to false for Fuchsia, this is a preliminary change. Bug: chromium:812974 Change-Id: Iabe2503db3d6d4cebf1445cb4ab0852b664e1dba Reviewed-on: https://pdfium-review.googlesource.com/29490 Reviewed-by: dsinclair Commit-Queue: dsinclair --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ] -- cgit v1.2.3