ecl: add threadSupport option
This commit is contained in:
parent
d65ef03677
commit
b23b7a8174
@ -3,6 +3,7 @@
|
|||||||
, gmp, mpfr, libffi, makeWrapper
|
, gmp, mpfr, libffi, makeWrapper
|
||||||
, noUnicode ? false
|
, noUnicode ? false
|
||||||
, gcc
|
, gcc
|
||||||
|
, threadSupport ? true
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
@ -30,7 +31,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-threads"
|
(if threadSupport then "--enable-threads" else "--disable-threads")
|
||||||
"--with-gmp-prefix=${gmp.dev}"
|
"--with-gmp-prefix=${gmp.dev}"
|
||||||
"--with-libffi-prefix=${libffi.dev}"
|
"--with-libffi-prefix=${libffi.dev}"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user