mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
libx86emu: fix cross compilation
This commit is contained in:
parent
28f75f3278
commit
b3c9ad0c6c
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile --replace "/usr" "/"
|
||||
'';
|
||||
|
||||
buildFlags = [ "shared" ];
|
||||
buildFlags = [ "shared" "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" "LIBDIR=/lib" ];
|
||||
|
Loading…
Reference in New Issue
Block a user