mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
refactor: Move ld=gold rule to mesonBuildLayer
This commit is contained in:
parent
3d078cd508
commit
cab347b4eb
23 changed files with 6 additions and 82 deletions
|
@ -51,10 +51,6 @@ mkMesonLibrary (finalAttrs: {
|
|||
mesonFlags = [
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs (stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")) {
|
||||
LDFLAGS = "-fuse-ld=gold";
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue