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.
This commit is contained in:
Enno Boland 2016-02-26 09:50:29 +01:00
parent e59ce4d15f
commit 538903183d
1 changed files with 3 additions and 2 deletions

View File

@ -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 <xtraeme@voidlinux.eu>"
@ -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}