From 538903183d63b2b62c8638061aabf79027999484 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 26 Feb 2016 09:50:29 +0100 Subject: [PATCH] binutils: enable deterministic archives Turns on deterministic mode by default. From the manpage: Operate in deterministic mode. When adding files and the archive index use zero for UIDs, GIDs, timestamps, and use consistent file modes for all files. When this option is used, if ar is used with identical options and identical input files, multiple runs will create identical output files regardless of the input files' owners, groups, file modes, or modification times. --- srcpkgs/binutils/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index c1e6c3bbd7d..7d2d76f1c1d 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -1,7 +1,7 @@ # Template file for 'binutils' pkgname=binutils version=2.26 -revision=1 +revision=2 bootstrap=yes short_desc="GNU binary utilities" maintainer="Juan RP " @@ -35,7 +35,8 @@ do_configure() { ./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \ --enable-plugins --enable-secureplt --with-mmap \ --disable-shared --enable-gold --disable-werror \ - --enable-ld=default --disable-nls $CONFIGFLAG LDFLAGS= + --enable-deterministic-archives --enable-ld=default \ + --disable-nls $CONFIGFLAG LDFLAGS= } do_build() { make ${makejobs}