aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_vulkan-deps_glslang_src_BUILD.gn
blob: ea219729aa97b99780de3173e4cbcb4b65d7e5a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- third_party/vulkan-deps/glslang/src/BUILD.gn.orig	2021-12-31 01:01:00 UTC
+++ third_party/vulkan-deps/glslang/src/BUILD.gn
@@ -258,6 +258,12 @@ template("glslang_sources_common") {
         "-Wno-unused-variable",
       ]
     }
+    if (is_bsd) {
+      cflags -= [
+        "-Wno-suggest-destructor-override",
+        "-Wno-suggest-override",
+      ]
+    }
     if (is_win && !is_clang) {
       cflags = [
         "/wd4018",  # signed/unsigned mismatch