[debhelper-devel] [debhelper] 01/02: dh_strip: make stripping static libraries deterministic
Niels Thykier
nthykier at moszumanska.debian.org
Mon Jan 5 20:48:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
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/debhelper/debhelper.git
More information about the debhelper-devel
mailing list