Merge pull request #197697 from delroth/linux-perf-cross

linuxPackages.perf: fix cross-compilation by providing HOSTLD

authored by Pierre Bourdon and committed by GitHub 8b31b528 850260cf

+1
+1
pkgs/os-specific/linux/kernel/manual-config.nix
··· 379 379 "O=$(buildRoot)" 380 380 "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" 381 381 "HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc" 382 + "HOSTLD=${buildPackages.stdenv.cc.bintools}/bin/${buildPackages.stdenv.cc.targetPrefix}ld" 382 383 "ARCH=${stdenv.hostPlatform.linuxArch}" 383 384 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 384 385 "CROSS_COMPILE=${stdenv.cc.targetPrefix}"