1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- third_party/angle/BUILD.gn.orig 2020-11-13 06:42:14 UTC
+++ third_party/angle/BUILD.gn
@@ -141,10 +141,17 @@ config("extra_warnings") {
]
}
if (is_clang) {
+ if (!is_bsd) {
+ cflags += [
+ "-Wdeprecated-copy",
+ "-Wsuggest-destructor-override",
+ "-Wsuggest-override",
+ ]
+ }
+
cflags += [
"-Wbad-function-cast",
"-Wconditional-uninitialized",
- "-Wdeprecated-copy",
"-Wextra-semi-stmt",
"-Wfloat-conversion",
"-Winconsistent-missing-destructor-override",
@@ -154,8 +161,6 @@ config("extra_warnings") {
"-Wredundant-parens",
"-Wreturn-std-move-in-c++11",
"-Wshadow-field",
- "-Wsuggest-destructor-override",
- "-Wsuggest-override",
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",
"-Wunneeded-internal-declaration",
@@ -396,6 +401,7 @@ angle_static_library("angle_gpu_info_util") {
"X11",
"Xi",
"Xext",
+ "GL",
]
}
}
|