summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-05-27 13:21:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-27 13:21:54 -0700
commitd23df55b95716a4b6021ab600b99fd31954c8052 (patch)
tree02095dd966c3430b0cc977b14db10d12d3af8fc9 /BUILD.gn
parenta54bc400fa69491ad72ad97f74742ec28cbe849a (diff)
downloadpdfium-d23df55b95716a4b6021ab600b99fd31954c8052.tar.xz
Change to disable a warning for GCC compilationchromium/2754chromium/2753chromium/2752chromium/2751
The warning was only shown and asked not to be treated as an error. However, some recent flag change of chromeos toolchain has some interference with the warning. To avoid future problem, disable the warning for GCC. BUG=chromium:615424 Review-Url: https://codereview.chromium.org/2013163003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2d75349f7e..1550209ce1 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -51,7 +51,7 @@ config("pdfium_config") {
}
if (is_posix && !is_clang) { # When GCC.
- cflags += [ "-Wno-error=strict-overflow" ]
+ cflags += [ "-Wno-strict-overflow" ]
}
}