summaryrefslogtreecommitdiff
path: root/frontends/amiga/dist
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-07-09 14:32:43 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-07-09 14:32:43 +0100
commitbb87d63f0299df524c861e523f22ee6efb17af4c (patch)
tree71c651f834430b2b3af038fd23fb17bbcb805bcc /frontends/amiga/dist
parent7fe13d5afada707cd2f7fd6e33d288bef3383474 (diff)
downloadnetsurf-bb87d63f0299df524c861e523f22ee6efb17af4c.tar.gz
netsurf-bb87d63f0299df524c861e523f22ee6efb17af4c.tar.bz2
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
Diffstat (limited to 'frontends/amiga/dist')
-rwxr-xr-xfrontends/amiga/dist/Install10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontends/amiga/dist/Install b/frontends/amiga/dist/Install
index e8d9d0ed7..55631905e 100755
--- a/frontends/amiga/dist/Install
+++ b/frontends/amiga/dist/Install
@@ -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")