Subject: [alpine-aports] [PATCH] main/binutils: Enable deterministic archives.

From: Przemyslaw Pawelczyk <[email-masked]>
Date: Tue, 22 Nov 2016 23:01:02 +0100

"GNU ar and other tools from binutils have a deterministic mode which
will use zero for UIDs, GIDs, timestamps, and use consistent file modes
for all files.  It can be made the default by passing the
--enable-deterministic-archives option to ./configure."

Quoted from:
https://reproducible-builds.org/docs/archives/
---
 main/binutils/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index cda0c35442f0..8bacc931c21f 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=binutils
 pkgver=2.27
-pkgrel=0
+pkgrel=1
 pkgdesc="Tools necessary to build programs"
 url="http://www.gnu.org/software/binutils/"
 depends=""
@@ -51,6 +51,7 @@ build() {
 		--enable-64-bit-bfd \
 		--enable-plugins \
 		--enable-relro \
+		--enable-deterministic-archives \
 		$_cross_configure \
 		--disable-werror \
 		--disable-nls \
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---