mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Force disable libjpeg-turbo's use of AltiVec if we don't have it
NB: This var must be set when NetSurf is launched. The in-program setting is just a precaution in case the install script isn't run
This commit is contained in:
parent
7fe13d5afa
commit
bb87d63f02
10
frontends/amiga/dist/Install
vendored
10
frontends/amiga/dist/Install
vendored
@ -289,6 +289,16 @@
|
||||
|
||||
(complete 75)
|
||||
|
||||
; Force disable use of AltiVec if we don't have it
|
||||
(if (database "vectorunit" "0")
|
||||
(
|
||||
(textfile
|
||||
(dest "ENVARC:JSIMD_FORCENONE")
|
||||
(append "1")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(if (= (exists "ENVARC:Sys/def_css.info") 0)
|
||||
(copyfiles
|
||||
(prompt "Copying default CSS icon")
|
||||
|
@ -5553,7 +5553,7 @@ int main(int argc, char** argv)
|
||||
LOG("AltiVec detected");
|
||||
} else {
|
||||
LOG("AltiVec NOT detected");
|
||||
SetVar("JSIMD_FORCENONE", "1", 1, GVF_LOCAL_ONLY);
|
||||
SetVar("JSIMD_FORCENONE", "1", 1, GVF_GLOBAL_ONLY | GVF_SAVE_VAR);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user