Merge pull request #74661 from itsapinhulk/boost_extra_args

boost : support extra arguments to b2
This commit is contained in:
Mario Rodas
2019-12-03 04:57:32 -05:00
committed by GitHub

View File

@@ -14,6 +14,7 @@
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
, patches ? []
, mpi ? null
, extraB2Args ? []
# Attributes inherit from specific versions
, version, src
@@ -92,7 +93,8 @@ let
++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam"
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
"threadapi=win32"
]);
] ++ extraB2Args
);
in