Mail archive
alpine-aports

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

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
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
_at_@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=binutils
 pkgver=2.27
-pkgrel=0
+pkgrel=1
 pkgdesc="Tools necessary to build programs"
 url="http://www.gnu.org/software/binutils/"
 depends=""
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 22 2016 - 23:01:02 GMT