ruby: Enable to disable JIT support
This commit is contained in:
parent
1c3e3e081c
commit
2da5872b72
|
@ -37,6 +37,7 @@ let
|
||||||
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
|
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
|
||||||
, useRailsExpress ? true
|
, useRailsExpress ? true
|
||||||
, rubygemsSupport ? true
|
, rubygemsSupport ? true
|
||||||
|
, JitSupport ? true
|
||||||
, zlib, zlibSupport ? true
|
, zlib, zlibSupport ? true
|
||||||
, openssl, opensslSupport ? true
|
, openssl, opensslSupport ? true
|
||||||
, gdbm, gdbmSupport ? true
|
, gdbm, gdbmSupport ? true
|
||||||
|
@ -118,6 +119,7 @@ let
|
||||||
|
|
||||||
configureFlags = ["--enable-shared" "--enable-pthread" "--with-soname=ruby_${tag}"]
|
configureFlags = ["--enable-shared" "--enable-pthread" "--with-soname=ruby_${tag}"]
|
||||||
++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby"
|
++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby"
|
||||||
|
++ op (!JitSupport) "--disable-jit-support"
|
||||||
++ op (!docSupport) "--disable-install-doc"
|
++ op (!docSupport) "--disable-install-doc"
|
||||||
++ ops stdenv.isDarwin [
|
++ ops stdenv.isDarwin [
|
||||||
# on darwin, we have /usr/include/tk.h -- so the configure script detects
|
# on darwin, we have /usr/include/tk.h -- so the configure script detects
|
||||||
|
|
Loading…
Reference in New Issue