ports/www/iridium/files/patch-third__party_angle_BUILD.gn
2025-02-23 07:58:58 +01:00

29 lines
831 B
Text

--- third_party/angle/BUILD.gn.orig 2025-02-22 18:06:53 UTC
+++ third_party/angle/BUILD.gn
@@ -355,7 +355,6 @@ config("extra_warnings") {
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",
"-Wunneeded-internal-declaration",
- "-Wunused-but-set-variable",
"-Wsuggest-destructor-override",
"-Wsuggest-override",
@@ -532,7 +531,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" ]
}
@@ -687,6 +686,9 @@ angle_static_library("angle_gpu_info_util") {
"Xi",
"Xext",
]
+ if (is_bsd) {
+ libs += [ "GL" ]
+ }
}
if (angle_use_wayland && angle_has_build) {