ports/www/chromium/patches/patch-third_party_angle_BUILD_gn

31 lines
841 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: third_party/angle/BUILD.gn
--- third_party/angle/BUILD.gn.orig
+++ third_party/angle/BUILD.gn
2023-09-14 00:49:35 +00:00
@@ -321,7 +321,6 @@ config("extra_warnings") {
2023-08-16 22:26:55 +00:00
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",
"-Wunneeded-internal-declaration",
- "-Wunused-but-set-variable",
"-Wsuggest-destructor-override",
"-Wsuggest-override",
2023-09-14 00:49:35 +00:00
@@ -492,7 +491,7 @@ template("angle_common_lib") {
2023-08-16 22:26:55 +00:00
all_dependent_configs = [ ":angle_disable_pool_alloc" ]
}
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
libs = [ "dl" ]
}
2023-09-14 00:49:35 +00:00
@@ -647,6 +646,9 @@ angle_static_library("angle_gpu_info_util") {
2023-08-16 22:26:55 +00:00
"Xi",
"Xext",
]
+ if (is_bsd) {
+ libs += [ "GL" ]
+ }
}
if (angle_use_wayland && angle_has_build) {