| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 2021b4cd89fe19e6f4c28a1066a4ca4009e6c841..fea9e33cc8d8e78f5eaa2eaeb1791b56ec1313b5 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -474,6 +474,12 @@ static_library("fxcodec") {
|
| if (is_posix) {
|
| configs -= [ "//build/config/gcc:no_exceptions" ]
|
| }
|
| +
|
| + if (is_posix) {
|
| + # core/src/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" ]
|
| + }
|
| configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
|
| }
|
|
|
|
|