Merge pull request #224935 from amjoseph-nixpkgs/pr/librem/cross

librem: fix cross compilation

authored by Artturi and committed by GitHub e66c61a1 8b2521bd

+1
+1
pkgs/development/libraries/librem/default.nix
··· 18 18 makeFlags = [ 19 19 "LIBRE_MK=${libre}/share/re/re.mk" 20 20 "PREFIX=$(out)" 21 + "AR=${stdenv.cc.targetPrefix}ar" 21 22 ] 22 23 ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${lib.getDev stdenv.cc.cc}" 23 24 ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}"