botan{2,3}: always set --cpu, fix cross compilation (#359883)

This commit is contained in:
7c6f434c
2024-12-02 04:46:02 +00:00
committed by GitHub
+1 -3
View File
@@ -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"
];