From cc0a12822659d2eadaf0401d1660f558da004b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 6 Feb 2014 14:06:28 +0100 Subject: [PATCH] gnu: binutils: Build with --enable-deterministic-archives. * gnu/packages/base.scm (binutils): Add '--enable-deterministic-archives' to #:configure-flags. Suggestion from Lunar's 2014 FOSDEM talk on reproducible builds. --- gnu/packages/base.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index ac90b02812..385acdef98 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -340,7 +340,11 @@ (define-public binutils ;; Install BFD. It ends up in a hidden directory, ;; but it's here. - "--enable-install-libbfd"))) + "--enable-install-libbfd" + + ;; Make sure 'ar' and 'ranlib' produce archives in a + ;; deterministic fashion. + "--enable-deterministic-archives"))) (synopsis "Binary utilities: bfd gas gprof ld") (description