From 2b954e90d3dd61c1fce6737ec2cbde876da492df Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 21 Jun 2023 16:55:23 +0800 Subject: [PATCH] fbterm: fix cross compilation --- pkgs/os-specific/linux/fbterm/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/fbterm/default.nix b/pkgs/os-specific/linux/fbterm/default.nix index 9e89ad555317..f762eca36beb 100644 --- a/pkgs/os-specific/linux/fbterm/default.nix +++ b/pkgs/os-specific/linux/fbterm/default.nix @@ -35,6 +35,10 @@ stdenv.mkDerivation rec { ncurses ]; + makeFlags = [ + "AR:=$(AR)" + ]; + # preConfigure = '' # sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp # sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\