9c709a1d6b
Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D39769
29 lines
831 B
Text
29 lines
831 B
Text
--- third_party/angle/BUILD.gn.orig 2023-04-22 17:45:15 UTC
|
|
+++ third_party/angle/BUILD.gn
|
|
@@ -280,7 +280,6 @@ config("extra_warnings") {
|
|
"-Wtautological-type-limit-compare",
|
|
"-Wundefined-reinterpret-cast",
|
|
"-Wunneeded-internal-declaration",
|
|
- "-Wunused-but-set-variable",
|
|
"-Wsuggest-destructor-override",
|
|
"-Wsuggest-override",
|
|
|
|
@@ -451,7 +450,7 @@ template("angle_common_lib") {
|
|
all_dependent_configs = [ ":angle_disable_pool_alloc" ]
|
|
}
|
|
|
|
- if (is_linux || is_chromeos) {
|
|
+ if ((is_linux || is_chromeos) && !is_bsd) {
|
|
libs = [ "dl" ]
|
|
}
|
|
|
|
@@ -606,6 +605,9 @@ angle_static_library("angle_gpu_info_util") {
|
|
"Xi",
|
|
"Xext",
|
|
]
|
|
+ if (is_bsd) {
|
|
+ libs += [ "GL" ]
|
|
+ }
|
|
}
|
|
|
|
if (angle_use_wayland && angle_has_build) {
|