[Reproducible-commits] [debhelper] 24/61: dh_strip: make stripping static libraries deterministic
Mattia Rizzolo
mattia at mapreri.org
Sat Apr 4 18:37:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 59a49d2998307168a633f8dccf1d5c1da73bfb2a
Author: Andrew Ayer <agwa at andrewayer.name>
Date: Thu Sep 25 10:07:41 2014 -0700
dh_strip: make stripping static libraries deterministic
Previously, calling strip on a static library would reset the timestamp
of every file in the archive to the current time, and reset the permissions
of every file based on the umask.
Now, the --enable-deterministic-archives is passed to strip to cause strip
to write the .a file with zero timestamps and consistent file permissions.
---
dh_strip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_strip b/dh_strip
index 7f0ee66..5d86e04 100755
--- a/dh_strip
+++ b/dh_strip
@@ -236,7 +236,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
foreach (@static_libs) {
- doit($strip,"--strip-debug",$_);
+ doit($strip,"--enable-deterministic-archives","--strip-debug",$_);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list