mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01: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
|
|
@ -76,10 +76,6 @@ mkMesonLibrary (finalAttrs: {
|
|||
(lib.mesonOption "readline-flavor" readlineFlavor)
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs (stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux") && !(stdenv.hostPlatform.useLLVM or false)) {
|
||||
LDFLAGS = "-fuse-ld=gold";
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue