diff options
author | Tomas Hlavaty <tom@logand.com> | 2016-12-13 22:35:16 +0100 |
---|---|---|
committer | Tomas Hlavaty <tom@logand.com> | 2016-12-13 22:35:16 +0100 |
commit | b23b7a81748f8d1ae9c746de41090f2bd0448e0d (patch) | |
tree | 950a6989815b051264426fd31a208067201dfb2b /pkgs/development/compilers | |
parent | d65ef03677ab395e8dfb312c32ef379046ac3472 (diff) | |
download | nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar.gz nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar.bz2 nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar.lz nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar.xz nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.tar.zst nixlib-b23b7a81748f8d1ae9c746de41090f2bd0448e0d.zip |
ecl: add threadSupport option
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/ecl/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index cfaf8184c690..60293fa2ec18 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -3,6 +3,7 @@ , gmp, mpfr, libffi, makeWrapper , noUnicode ? false , gcc +, threadSupport ? true }: let s = # Generated upstream information @@ -30,7 +31,7 @@ stdenv.mkDerivation { }; configureFlags = [ - "--enable-threads" + (if threadSupport then "--enable-threads" else "--disable-threads") "--with-gmp-prefix=${gmp.dev}" "--with-libffi-prefix=${libffi.dev}" ] |