mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
boost::concurrent_flat_map (used in libutil and libstore) includes the C++17 <execution> header. GCC's libstdc++ implements parallel algorithms using Intel TBB as the backend, which creates a link-time dependency on libtbb even though we don't actually use any parallel algorithms. Disable the TBB backend for libstdc++ by setting _GLIBCXX_USE_TBB_PAR_BACKEND=0. This makes parallel algorithms fall back to serial execution, which is acceptable since we don't use them anyway. This only affects libstdc++ (GCC's standard library); other standard libraries like libc++ (LLVM) are unaffected. |
||
|---|---|---|
| .. | ||
| big-objs | ||
| common | ||
| default-system-cpu | ||
| deps-lists | ||
| export | ||
| export-all-symbols | ||
| generate-header | ||
| libatomic | ||
| subprojects | ||
| windows-version | ||