Android build for ungoogled-chromium. https://uc.droidware.info
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
726 B

description: prevent clang 9 from printing unknown-warning warning
author: Wengling Chen <[email protected]>
---
build/config/compiler/BUILD.gn | 3 +++
1 file changed, 3 insertions(+)
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1480,6 +1480,9 @@ config("default_warnings") {
# Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
# recognize.
cflags += [
+ # Ignore unknown warning warnings from clang 9
+ "-Wno-unknown-warning-option",
+
# Ignore warnings about MSVC optimization pragmas.
# TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
"-Wno-ignored-pragma-optimize",