From cfeb9404a8a63d10e19101b81b25653d0b6385c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 1 Apr 2025 12:52:24 +0200 Subject: [PATCH] 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. --- packaging/components.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packaging/components.nix b/packaging/components.nix index 991d54241..e51e79755 100644 --- a/packaging/components.nix +++ b/packaging/components.nix @@ -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: {