24 lines
634 B
Diff
24 lines
634 B
Diff
--- qt6-webengine-6.4.2.orig/src/3rdparty/chromium/media/gpu/vaapi/BUILD.gn
|
|
+++ qt6-webengine-6.4.2/src/3rdparty/chromium/media/gpu/vaapi/BUILD.gn
|
|
@@ -14,6 +14,12 @@ import("//ui/gl/features.gni")
|
|
assert(is_linux || is_chromeos)
|
|
assert(use_vaapi)
|
|
|
|
+config("vaapi_permissive") {
|
|
+ if (target_cpu == "x86") {
|
|
+ cflags = [ "-fpermissive" ]
|
|
+ }
|
|
+}
|
|
+
|
|
generate_stubs("libva_stubs") {
|
|
extra_header = "va_stub_header.fragment"
|
|
sigs = [ "va.sigs" ]
|
|
@@ -89,6 +95,7 @@ source_set("vaapi") {
|
|
configs += [
|
|
"//build/config/linux/libva",
|
|
"//third_party/libvpx:libvpx_config",
|
|
+ ":vaapi_permissive",
|
|
]
|
|
|
|
deps = [
|