mirror of
https://github.com/NixOS/nix
synced 2025-07-05 16:31:47 +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
|
@ -72,8 +72,6 @@ mkMesonLibrary (finalAttrs: {
|
|||
# https://github.com/NixOS/nixpkgs/issues/86131.
|
||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
||||
} // lib.optionalAttrs (stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux") && !(stdenv.hostPlatform.useLLVM or false)) {
|
||||
LDFLAGS = "-fuse-ld=gold";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue