aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__install__state.cc
blob: d9592817c67bdd89be4dbd7053ffedce15137841 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/screen_ai/screen_ai_install_state.cc.orig	2025-04-15 08:30:07 UTC
+++ chrome/browser/screen_ai/screen_ai_install_state.cc
@@ -30,7 +30,7 @@ bool IsDeviceCompatible() {
   // TODO(crbug.com/381256355): Update when ScreenAI library is compatible with
   // older CPUs.
   static const bool device_compatible = base::CPU().has_sse42();
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // On Linux, the library is only built for X86 CPUs.
   static constexpr bool device_compatible = false;
 #else