diff options
| author | Randy Eckenrode <randy@largeandhighquality.com> | 2024-11-20 13:18:54 -0500 |
|---|---|---|
| committer | Randy Eckenrode <randy@largeandhighquality.com> | 2024-11-20 13:31:28 -0500 |
| commit | 65960056088e9407b051aa9c890349b882e99398 (patch) | |
| tree | 18f0053fc694eb2b6f55c440a6749c3ac0b468eb /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 561a54f356164a8ce076fbae0b75ecc837070853 (diff) | |
darwin.stdenv: use native Clang as a cross-compiler
In theory, Clang is a cross-compiler by default. After the following
PRs, this is true on platforms other than Darwin.
- https://github.com/NixOS/nixpkgs/pull/355532
- https://github.com/NixOS/nixpkgs/pull/356162
The reason Darwin needs additional changes is it only overlays Clang and
LLVM in the native target case. When cross-compiling, it builds Clang
and LLVM again. This is unnecessary as long as the Darwin stdenv avoids
propagating the Clang wrappers, which are target-dependent.
In theory, ld64 is also a cross-linker by default. Realizing that for
nixpkgs requires additional work that will be done separately.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
