From d31670f9e782e1f93c2fcfff361fb2b4008041e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Mon, 29 Sep 2025 15:37:26 +0200 Subject: [PATCH] Fix cross compilation for lmbench --- pkgs/lmbench/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/lmbench/default.nix b/pkgs/lmbench/default.nix index cfe2349..04ae9bd 100644 --- a/pkgs/lmbench/default.nix +++ b/pkgs/lmbench/default.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { CFLAGS=-Wno-implicit-int CPPFLAGS=-I${libtirpc.dev}/include/tirpc LDFLAGS=-ltirpc + CC=$CC + AR=$AR ) '';