aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-third__party_angle_BUILD.gn
blob: c7098332a13859f330d08bc93c22031178041151 (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-04-14 01:15:19 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",
       ]
     }
   }