diff options
| author | Peter Waller <p@pwaller.net> | 2024-11-12 21:36:46 +0000 |
|---|---|---|
| committer | Peter Waller <p@pwaller.net> | 2024-11-14 21:43:26 +0000 |
| commit | 7903d0b711ec74509ca6ef36bd0d1d0c46f732a5 (patch) | |
| tree | 7f0ac1974f4fd148120dde5dbbd3817a7ed31c7d /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 2e21fa2ccb326d74851d853255f8d9d12fd38d40 (diff) | |
llvmPackages.llvm: Drop dependency on target through libbfd
Currently the target triple leaks into the clang build via llvm using
libbfd, whose build varies according to the target triple.
LLVM only uses libbfd to enable LTO via the linker plugin (called
LLVMgold.so, though multiple linkers can use the same plugin).
Drop the dependency on the libbfd build, and consume the only needed
source instead. (This would be a good use of CA-derivations FWIW).
The result of this commit is that these match:
* nix eval --raw nixpkgs#clang.cc
* nix eval --raw nixpkgs#pkgsStatic.pkgsLLVM.stdenv.cc.cc
* nix eval --raw nixpkgs#pkgsCross.aarch64-multiplatform.pkgsLLVM.stdenv.cc.cc
This means fewer clang builds will be needed to support cross
configurations, and users wanting to target an exotic cross
configuration should be able to do so without a rebuild of clang.
Also drops libbfd.hasPluginAPI which no longer has any users.
Signed-off-by: Peter Waller <p@pwaller.net>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
