Merge pull request #74661 from itsapinhulk/boost_extra_args
boost : support extra arguments to b2
This commit is contained in:
commit
e4d1d83f95
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user