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:
parent
9e08042270
commit
69ad8d92e6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue