3
0
Fork 0
forked from mirrors/nixpkgs

ruby: Enable to disable JIT support

This commit is contained in:
Doron Behar 2020-06-07 10:18:16 +03:00
parent 1c3e3e081c
commit 2da5872b72

View file

@ -37,6 +37,7 @@ let
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
, useRailsExpress ? true
, rubygemsSupport ? true
, JitSupport ? true
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -118,6 +119,7 @@ let
configureFlags = ["--enable-shared" "--enable-pthread" "--with-soname=ruby_${tag}"]
++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby"
++ op (!JitSupport) "--disable-jit-support"
++ op (!docSupport) "--disable-install-doc"
++ ops stdenv.isDarwin [
# on darwin, we have /usr/include/tk.h -- so the configure script detects