boost-build: drop Darwin compiler substitution
Upstream defaults to clang on Darwin now instead of GCC. This substitution doesn’t do anything.
This commit is contained in:
@@ -36,11 +36,7 @@ stdenv.mkDerivation {
|
||||
patches = useBoost.boostBuildPatches or []
|
||||
++ lib.optional (useBoost ? version && lib.versionAtLeast useBoost.version "1.81") ./fix-clang-target.patch;
|
||||
|
||||
# Upstream defaults to gcc on darwin, but we use clang.
|
||||
postPatch = ''
|
||||
substituteInPlace src/build-system.jam \
|
||||
--replace "default-toolset = darwin" "default-toolset = clang-darwin"
|
||||
'' + lib.optionalString (useBoost ? version && lib.versionAtLeast useBoost.version "1.82") ''
|
||||
postPatch = lib.optionalString (useBoost ? version && lib.versionAtLeast useBoost.version "1.82") ''
|
||||
patchShebangs --build src/engine/build.sh
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user