quictls: specify the ABI explicitly on mips64
cherry picked from commit 77d6781cdc
This commit is contained in:
parent
1ed8ae38c9
commit
94ffbb4fdf
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ stdenv.mkDerivation rec {
|
||||||
x86_64-linux = "./Configure linux-x86_64";
|
x86_64-linux = "./Configure linux-x86_64";
|
||||||
x86_64-solaris = "./Configure solaris64-x86_64-gcc";
|
x86_64-solaris = "./Configure solaris64-x86_64-gcc";
|
||||||
riscv64-linux = "./Configure linux64-riscv64";
|
riscv64-linux = "./Configure linux64-riscv64";
|
||||||
|
mips64el-linux =
|
||||||
|
if stdenv.hostPlatform.isMips64n64
|
||||||
|
then "./Configure linux64-mips64"
|
||||||
|
else if stdenv.hostPlatform.isMips64n32
|
||||||
|
then "./Configure linux-mips64"
|
||||||
|
else throw "unsupported ABI for ${stdenv.hostPlatform.system}";
|
||||||
}.${stdenv.hostPlatform.system} or (
|
}.${stdenv.hostPlatform.system} or (
|
||||||
if stdenv.hostPlatform == stdenv.buildPlatform
|
if stdenv.hostPlatform == stdenv.buildPlatform
|
||||||
then "./config"
|
then "./config"
|
||||||
|
|
Loading…
Reference in a new issue