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.
This commit is contained in:
Ludovic Courtès 2014-02-06 14:06:28 +01:00
parent 2c1dea853d
commit cc0a128226
1 changed files with 5 additions and 1 deletions

View File

@ -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