3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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 @@ 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