aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-02-06 14:06:28 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-06 14:06:28 +0100
commitcc0a12822659d2eadaf0401d1660f558da004b4b (patch)
tree9aa97d73dd019441890b439365326e9bafca1727
parent2c1dea853d98c16f9f15b731d7d5950e4d79b58b (diff)
downloadgnu-guix-cc0a12822659d2eadaf0401d1660f558da004b4b.tar
gnu-guix-cc0a12822659d2eadaf0401d1660f558da004b4b.tar.gz
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.
-rw-r--r--gnu/packages/base.scm6
1 files changed, 5 insertions, 1 deletions
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 @@ change. GNU make offers many powerful extensions over the standard utility.")
;; 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