gnu: botan: Optimise.

* gnu/packages/crypto.scm (botan)[arguments]: Compile with -O3
optimisation.
This commit is contained in:
Tobias Geerinckx-Rice 2019-11-09 00:27:34 +01:00
parent 9e08042270
commit 69ad8d92e6
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -750,6 +750,8 @@ (define-public botan
(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