"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 <ncopa@alpinelinux.org>
pkgname=binutils
pkgver=2.27
-pkgrel=0+pkgrel=1pkgdesc="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: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
---- On Tue, 22 Nov 2016 23:01:02 +0100 Przemyslaw Pawelczyk <przemoc@zoho.com> wrote ----
> "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/
All packages providing .a files should be rebuilt after this change.
Therefore maybe it's better to apply the patch only after releasing AL 3.5?
Regards,
Przemek
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---