diff options
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -65,10 +65,14 @@ config("pdfium_config") { ] } - if (is_clang) { + if (is_clang || is_posix) { # TODO(thestig): Fix all instances, remove this, pdfium:29 cflags += [ "-Wno-sign-compare" ] } + + if (is_posix && !is_clang) { # When GCC. + cflags += [ "-Wno-error=strict-overflow" ] + } } static_library("pdfium") { |