summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
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/gui.c
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/gui.c')
-rw-r--r--frontends/amiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 688aa59da..63a240656 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -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