-
-
Save timo/fa6d113e897c9f1e1905 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Configure.pl b/Configure.pl | |
index ceebfcc..58be082 100644 | |
--- a/Configure.pl | |
+++ b/Configure.pl | |
@@ -32,7 +32,7 @@ GetOptions(\%args, qw( | |
os=s shell=s toolchain=s compiler=s | |
cc=s ld=s make=s has-sha has-libuv | |
static use-readline has-libtommath has-libatomic_ops | |
- build=s host=s big-endian enable-jit lua=s | |
+ build=s host=s big-endian disable-jit enable-jit lua=s | |
prefix=s make-install asan), | |
'no-optimize|nooptimize' => sub { $args{optimize} = 0 }, | |
'no-debug|nodebug' => sub { $args{debug} = 0 } | |
@@ -195,6 +195,10 @@ else { | |
} | |
if ($args{'enable-jit'}) { | |
+ print("The --enable-jit flag is now obsolete, as --enable-jit is the default. You can pass --disabl | |
+} | |
+ | |
+if (!$args{'disable-jit'}) { | |
if ($Config{archname} =~ m/^x86_64|^amd64|^darwin(-thread)?(-multi)?-2level/) { | |
$config{jit} = '$(JIT_POSIX_X64)'; | |
} elsif ($Config{archname} =~ /^MSWin32-x64/) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For --no-jit, you can use
jit!
which gives --no-jit and --nojit (and --jit), so something like