mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05: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 @@ (define-public botan
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref %outputs "out"))
|
(let* ((out (assoc-ref %outputs "out"))
|
||||||
(lib (string-append out "/lib")))
|
(lib (string-append out "/lib")))
|
||||||
|
;; Upstream tests and benchmarks with -O3.
|
||||||
|
(setenv "CXXFLAGS" "-O3")
|
||||||
(invoke "python" "./configure.py"
|
(invoke "python" "./configure.py"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
;; Otherwise, the `botan` executable cannot find
|
;; Otherwise, the `botan` executable cannot find
|
||||||
|
|
Loading…
Reference in a new issue