guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: botan: Optimise.


From: guix-commits
Subject: 04/05: gnu: botan: Optimise.
Date: Fri, 8 Nov 2019 18:54:21 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 69ad8d92e6e06b88e60aa18f6c3fe6d487460600
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Nov 9 00:27:34 2019 +0100

    gnu: botan: Optimise.
    
    * gnu/packages/crypto.scm (botan)[arguments]: Compile with -O3
    optimisation.
---
 gnu/packages/crypto.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1ec6c47..c3d3e36 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]