From 69ad8d92e6e06b88e60aa18f6c3fe6d487460600 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 9 Nov 2019 00:27:34 +0100 Subject: gnu: botan: Optimise. * gnu/packages/crypto.scm (botan)[arguments]: Compile with -O3 optimisation. --- gnu/packages/crypto.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages') 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 -- cgit v1.2.3