diff options
| author | Stefan Frijters <sfrijters@gmail.com> | 2025-03-12 17:02:46 +0100 |
|---|---|---|
| committer | Stefan Frijters <sfrijters@gmail.com> | 2025-03-13 10:52:16 +0100 |
| commit | 54849e2fb8dd2862e6db07d18fed9bfd4f95544b (patch) | |
| tree | ba8c5a03238225bc252cab6b536a35820cc48b52 /pkgs/development/python-modules/rangehttpserver | |
| parent | 48f6c520757ccd72d2f0c448d45599c621cef9c4 (diff) | |
gcc: fix inconsistency in isCross condition
In libgcc.nix, `targetPlatformSlash` is set by checking if hostPlatform == targetPlatform.
In default.nix, `targetConfig` (which is also going to be part of the path) is also set by checking if hostPlatform == targetPlatform.
However, in common.nix, the recently added `isCross` is set by checking if hostPlatform.config == targetPlatform.config.
This means that for platforms like '-nolibc' the paths in common.nix are not set up correctly for libgcc.nix to find and move libgcc_s.so .
Changing isCross to also check hostPlatform == targetPlatform fixes this issue.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
