Skip to content

Commit

Permalink
Disable clang unknown warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Qian Qian "Cubik"‎ <[email protected]>
  • Loading branch information
Cubik65536 committed Dec 10, 2023
1 parent 2c87c88 commit b5e829f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ ungoogled-chromium/macos/fix-clang-format-path.patch
ungoogled-chromium/macos/fix-runTsc-log-info.patch
ungoogled-chromium/fix-node-path.patch
ungoogled-chromium/macos/disable-missing-clang-flags.patch
ungoogled-chromium/macos/no-unknown-warnings.patch
11 changes: 11 additions & 0 deletions patches/ungoogled-chromium/macos/no-unknown-warnings.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -52,6 +52,8 @@ config("compiler") {
if (export_libcxxabi_from_executables) {
ldflags += [ "-Wl,-undefined,dynamic_lookup" ]
}
+
+ cflags += [ "-Wno-unknown-warning-option" ]
}

# This is included by reference in the //build/config/compiler:runtime_library

0 comments on commit b5e829f

Please sign in to comment.