From 7e857cd57108358531b62ba58daa79adf21878e5 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Wed, 21 Jan 2015 22:32:58 +0100 Subject: [PATCH] configure: use ar and ranlib in deterministic mode this makes the static libraries binary reproducible Signed-off-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9fcdaee2c8..7a70910c4d 100755 --- a/configure +++ b/configure @@ -2702,7 +2702,7 @@ ln_s="ln -s -f" nm_default="nm -g" objformat="elf" pkg_config_default=pkg-config -ranlib_default="ranlib" +ranlib_default="ranlib -D" strip_default="strip" yasmexe_default="yasm" windres_default="windres" @@ -3601,7 +3601,7 @@ elif $ar 2>&1 | grep -q 'Usage: ar.*-X.*any'; then arflags='-Xany -r -c' ar_o='$@' else - arflags="rc" + arflags="Drc" ar_o='$@' fi