tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
botan{2,3}: always set --cpu, fix cross compilation
Nick Cao
1 year ago
c85ddc48
a04f8743
+1
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
botan
default.nix
+1
-3
pkgs/development/libraries/botan/default.nix
···
79
"--with-bzip2"
80
"--with-zlib"
81
"--with-rst2man"
0
82
]
83
++ lib.optionals stdenv.cc.isClang [
84
"--cc=clang"
85
-
]
86
-
++ lib.optionals stdenv.hostPlatform.isAarch64 [
87
-
"--cpu=aarch64"
88
]
89
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
90
"--enable-modules=jitter_rng"
···
79
"--with-bzip2"
80
"--with-zlib"
81
"--with-rst2man"
82
+
"--cpu=${stdenv.hostPlatform.parsed.cpu.name}"
83
]
84
++ lib.optionals stdenv.cc.isClang [
85
"--cc=clang"
0
0
0
86
]
87
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
88
"--enable-modules=jitter_rng"