summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn2
-rw-r--r--xfa.gyp2
2 files changed, 2 insertions, 2 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" ]
}
}
diff --git a/xfa.gyp b/xfa.gyp
index ead79d3c15..14a813096b 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -699,7 +699,7 @@
["clang==1" , {
}],
["os_posix==1 and clang==0", { # When GCC
- 'cflags': [ '-Wno-error=strict-overflow' ],
+ 'cflags': [ '-Wno-strict-overflow' ],
}],
["pdf_enable_v8==1", {
'dependencies': [