Merge pull request from r-burns/boost-darwin-linux-cross

boost: disable pch for darwin -> linux cross
This commit is contained in:
Ryan Burns 2022-10-16 22:47:54 -07:00 committed by GitHub
commit 9e6c072b5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,6 +101,7 @@ let
++ optional (toolset != null) "toolset=${toolset}"
++ optional (!enablePython) "--without-python"
++ optional needUserConfig "--user-config=user-config.jam"
++ optional (stdenv.buildPlatform.isDarwin && stdenv.hostPlatform.isLinux) "pch=off"
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
"threadapi=win32"
] ++ extraB2Args