Merge pull request #224935 from amjoseph-nixpkgs/pr/librem/cross
librem: fix cross compilation
This commit is contained in:
commit
e66c61a110
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user