Skip to content

Commit

Permalink
Merge pull request #224935 from amjoseph-nixpkgs/pr/librem/cross
Browse files Browse the repository at this point in the history
librem: fix cross compilation
  • Loading branch information
Artturin committed Apr 7, 2023
2 parents 8b2521b + 8946516 commit e66c61a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/libraries/librem/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"LIBRE_MK=${libre}/share/re/re.mk"
"PREFIX=$(out)"
"AR=${stdenv.cc.targetPrefix}ar"
]
++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${lib.getDev stdenv.cc.cc}"
++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}"
Expand Down

0 comments on commit e66c61a

Please sign in to comment.