diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-11-09 00:27:34 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-11-09 00:54:14 +0100 |
commit | 69ad8d92e6e06b88e60aa18f6c3fe6d487460600 (patch) | |
tree | 1561fd31ef5d74a9b8cf158b2f90db18a2a0e2dc /gnu/packages/crypto.scm | |
parent | 9e08042270f27cd1c6d555bc5b80cedf805c88f2 (diff) | |
download | guix-69ad8d92e6e06b88e60aa18f6c3fe6d487460600.tar guix-69ad8d92e6e06b88e60aa18f6c3fe6d487460600.tar.gz |
gnu: botan: Optimise.
* gnu/packages/crypto.scm (botan)[arguments]: Compile with -O3
optimisation.
Diffstat (limited to 'gnu/packages/crypto.scm')
-rw-r--r-- | gnu/packages/crypto.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 1ec6c47239..c3d3e3658c 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -750,6 +750,8 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref %outputs "out")) (lib (string-append out "/lib"))) + ;; Upstream tests and benchmarks with -O3. + (setenv "CXXFLAGS" "-O3") (invoke "python" "./configure.py" (string-append "--prefix=" out) ;; Otherwise, the `botan` executable cannot find |