[FFmpeg-cvslog] configure: use ar and ranlib in deterministic mode

Andreas Cadhalpun git at videolan.org
Mon Jan 26 21:56:55 CET 2015


ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Wed Jan 21 22:32:58 2015 +0100| [7e857cd57108358531b62ba58daa79adf21878e5] | committer: Michael Niedermayer

configure: use ar and ranlib in deterministic mode

this makes the static libraries binary reproducible

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e857cd57108358531b62ba58daa79adf21878e5
---

 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 9fcdaee..7a70910 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
 



More information about the ffmpeg-cvslog mailing list