mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
openssl: Fix build configuration for riscv64-linux
Without this patch, OpenSSL would use the suboptimal linux-generic32 config when building natively on riscv64.
This commit is contained in:
parent
0281ba6ace
commit
42dcdc2c3a
@ -75,6 +75,7 @@ let
|
||||
aarch64-darwin = "./Configure darwin64-arm64-cc";
|
||||
x86_64-linux = "./Configure linux-x86_64";
|
||||
x86_64-solaris = "./Configure solaris64-x86_64-gcc";
|
||||
riscv64-linux = "./Configure linux64-riscv64";
|
||||
}.${stdenv.hostPlatform.system} or (
|
||||
if stdenv.hostPlatform == stdenv.buildPlatform
|
||||
then "./config"
|
||||
|
Loading…
Reference in New Issue
Block a user