guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: squid: Fix build reproducibility issue.


From: guix-commits
Subject: 04/07: gnu: squid: Fix build reproducibility issue.
Date: Mon, 2 Nov 2020 09:00:17 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit dcd8a50350aeca37a8b55b729a1951940f72d7d2
Author: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
AuthorDate: Wed Oct 28 11:22:39 2020 -0400

    gnu: squid: Fix build reproducibility issue.
    
    * gnu/packages/networking.scm (squid): Add --disable-arch-native configure
    flag.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/networking.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index dafe928..734f561 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1559,7 +1559,11 @@ TCP connection, TLS handshake and so on) in the 
terminal.")
         (base32 "1q1ywpic6s7dfjj3cwzcfgscc4zq0aih462gyas7j1z683ss14b8"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases
+     '(#:configure-flags
+       ;; disable -march=native in build for reproducibility; see
+       ;; https://wiki.squid-cache.org/KnowledgeBase/IllegalInstructionError
+       (list "--disable-arch-native")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'build 'fix-true-path
            (lambda* (#:key inputs #:allow-other-keys)



reply via email to

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