boost: Fix building on Darwin
This commit is contained in:
parent
6985461c80
commit
19ea871862
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, makeSetupHook
|
{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, makeSetupHook
|
||||||
, toolset ? null
|
, toolset ? if stdenv.isDarwin then "clang" else null
|
||||||
, enableRelease ? true
|
, enableRelease ? true
|
||||||
, enableDebug ? false
|
, enableDebug ? false
|
||||||
, enableSingleThreaded ? false
|
, enableSingleThreaded ? false
|
||||||
@ -138,9 +138,7 @@ stdenv.mkDerivation {
|
|||||||
"--with-python=${python}/bin/python"
|
"--with-python=${python}/bin/python"
|
||||||
] ++ optional (toolset != null) "--with-toolset=${toolset}";
|
] ++ optional (toolset != null) "--with-toolset=${toolset}";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = builder nativeB2Args;
|
||||||
${stdenv.lib.optionalString (toolset == "clang") "unset NIX_ENFORCE_PURITY"}
|
|
||||||
'' + builder nativeB2Args;
|
|
||||||
|
|
||||||
installPhase = installer nativeB2Args;
|
installPhase = installer nativeB2Args;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user