mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
remove deprecated gold linker
Binutils deprecated the gold linker, so do we. For development we now use mold instead, we can potentially also use it for release builds later.
This commit is contained in:
parent
3546e574ca
commit
cfeb9404a8
1 changed files with 0 additions and 7 deletions
|
@ -159,13 +159,6 @@ let
|
|||
];
|
||||
separateDebugInfo = !stdenv.hostPlatform.isStatic;
|
||||
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
|
||||
env =
|
||||
prevAttrs.env or { }
|
||||
// lib.optionalAttrs (
|
||||
stdenv.isLinux
|
||||
&& !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")
|
||||
&& !(stdenv.hostPlatform.useLLVM or false)
|
||||
) { LDFLAGS = "-fuse-ld=gold"; };
|
||||
};
|
||||
|
||||
mesonLibraryLayer = finalAttrs: prevAttrs: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue