libck: cross-compilation fix
This commit is contained in:
parent
b3f57a6ab4
commit
b39cd260dd
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-HUC+8Vd0koAmumRZ8gS5u6LVa7fUfkIYRaxVv6/7Hgg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace \
|
||||
configure \
|
||||
--replace \
|
||||
'COMPILER=`./.1 2> /dev/null`' \
|
||||
"COMPILER=gcc"
|
||||
'';
|
||||
|
||||
configureFlags = ["--platform=${stdenv.hostPlatform.parsed.cpu.name}}"];
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user