mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 15:23:26 +00:00
63305d00d3
We want a `libgcc_s.so` to be built by the first stage cross-compiler (withoutTargetLibc), since that is the compiler which will compile the target libc. This commit accomplishes that, by making three changes: 1. Replacing the `targetPlatform.libc == "msvcrt" &&` conditional with `enableShared`, so that the code which cross-build `libgcc_s.so` is used for all cross compilers capable of emitting shared libraries. 2. Removing the `targetPlatform == hostPlatform` guard from the code which produces the `libgcc` output. 3. Looking for build products in in "lib/${targetPlatform.config}/" rather than "lib/", so we will find them when cross compiling. |
||
---|---|---|
.. | ||
0001-Fix-build-for-glibc-2.31.patch | ||
Added-mcf-thread-model-support-from-mcfgthread.patch | ||
default.nix | ||
gcc8-asan-glibc-2.34.patch | ||
riscv-no-relax.patch | ||
riscv-pthread-reentrant.patch |