1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 02:01:48 +02:00

refactor: Move ld=gold rule to mesonBuildLayer

This commit is contained in:
Robert Hensing 2025-01-15 19:54:02 +01:00
parent 3d078cd508
commit cab347b4eb
23 changed files with 6 additions and 82 deletions

View file

@ -48,10 +48,6 @@ mkMesonLibrary (finalAttrs: {
echo ${version} > ../../.version
'';
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;
};