summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_angle_BUILD.gn
blob: 61fe8677eb0d213288553a097eea181aded327b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- third_party/angle/BUILD.gn.orig	2021-03-13 00:03:31 UTC
+++ third_party/angle/BUILD.gn
@@ -194,7 +194,7 @@ config("extra_warnings") {
       "-Wunreachable-code",
       "-Wshorten-64-to-32",
     ]
-    if (!use_xcode_clang) {
+    if (!use_xcode_clang && !is_bsd) {
       # Mac catalyst uses a clang version that doesn't have these.
       cflags += [
         "-Wdeprecated-copy",
@@ -433,6 +433,7 @@ angle_static_library("angle_gpu_info_util") {
         "X11",
         "Xi",
         "Xext",
+        "GL",
       ]
     }
   }