From dcd8a50350aeca37a8b55b729a1951940f72d7d2 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Wed, 28 Oct 2020 11:22:39 -0400 Subject: gnu: squid: Fix build reproducibility issue. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (squid): Add --disable-arch-native configure flag. Signed-off-by: Ludovic Courtès --- gnu/packages/networking.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/networking.scm') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index dafe928bab..734f5611ca 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) -- cgit v1.2.3