Disable JIT VM by default when compiling for DragonFly BSD

This commit is contained in:
Cacodemon345 2020-07-03 11:35:14 +06:00 committed by Christoph Oelckers
parent 8578c11789
commit 61641bd45e

View file

@ -45,7 +45,11 @@
#include "version.h" #include "version.h"
#ifdef HAVE_VM_JIT #ifdef HAVE_VM_JIT
#ifdef __DragonFly__
CUSTOM_CVAR(Bool, vm_jit, false, CVAR_NOINITCALL)
#else
CUSTOM_CVAR(Bool, vm_jit, true, CVAR_NOINITCALL) CUSTOM_CVAR(Bool, vm_jit, true, CVAR_NOINITCALL)
#endif
{ {
Printf("You must restart " GAMENAME " for this change to take effect.\n"); Printf("You must restart " GAMENAME " for this change to take effect.\n");
Printf("This cvar is currently not saved. You must specify it on the command line."); Printf("This cvar is currently not saved. You must specify it on the command line.");