[Reproducible-commits] [debhelper] 09/11: dh_strip: make stripping static libraries deterministic
Jérémy Bobbio
lunar at moszumanska.debian.org
Wed Oct 22 19:28:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 54a96ea2b579169437e47ffb4679d2e6d10457e7
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 516b6f2..942b690 100755
--- a/dh_strip
+++ b/dh_strip
@@ -235,7 +235,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