Skip to content

Commit

Permalink
Merge pull request #165746 from a-m-joseph/openssl-fix-mips64-abi-det…
Browse files Browse the repository at this point in the history
…ection-when-not-cross-compiling

openssl: fix mips64 abi detection when not cross compiling
  • Loading branch information
sternenseemann committed Apr 11, 2022
2 parents e87240e + 77d6781 commit a985b2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ let
x86_64-linux = "./Configure linux-x86_64";
x86_64-solaris = "./Configure solaris64-x86_64-gcc";
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 (
if stdenv.hostPlatform == stdenv.buildPlatform
then "./config"
Expand Down

0 comments on commit a985b2b

Please sign in to comment.