botan{2,3}: always set --cpu, fix cross compilation
This commit is contained in:
@@ -79,13 +79,11 @@ let
|
||||
"--with-bzip2"
|
||||
"--with-zlib"
|
||||
"--with-rst2man"
|
||||
"--cpu=${stdenv.hostPlatform.parsed.cpu.name}"
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
"--cc=clang"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
"--cpu=aarch64"
|
||||
]
|
||||
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
|
||||
"--enable-modules=jitter_rng"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user