Merge staging-next into staging
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
, sha256
|
||||
, passthruFun
|
||||
, static ? false
|
||||
, enableOptimizations ? (!stdenv.isDarwin)
|
||||
}:
|
||||
|
||||
assert x11Support -> tcl != null
|
||||
@@ -138,8 +139,9 @@ let
|
||||
--replace 'os.popen(comm)' 'os.popen("${coreutils}/bin/nproc")'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
configureFlags = optionals enableOptimizations [
|
||||
"--enable-optimizations"
|
||||
] ++ [
|
||||
"--enable-shared"
|
||||
"--with-threads"
|
||||
"--enable-unicode=ucs${toString ucsEncoding}"
|
||||
|
||||
@@ -31,7 +31,9 @@
|
||||
, stripBytecode ? false
|
||||
, includeSiteCustomize ? true
|
||||
, static ? false
|
||||
, enableOptimizations ? true
|
||||
# Not using optimizations on Darwin
|
||||
# configure: error: llvm-profdata is required for a --enable-optimizations build but could not be found.
|
||||
, enableOptimizations ? (!stdenv.isDarwin)
|
||||
}:
|
||||
|
||||
assert x11Support -> tcl != null
|
||||
@@ -54,8 +56,9 @@ let
|
||||
|
||||
version = with sourceVersion; "${major}.${minor}.${patch}${suffix}";
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = optionals (!stdenv.isDarwin) [
|
||||
autoreconfHook
|
||||
] ++ [
|
||||
nukeReferences
|
||||
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
buildPackages.stdenv.cc
|
||||
|
||||
Reference in New Issue
Block a user