]> granicus.if.org Git - curl/commitdiff
mkhelp.pl: do not add current time into curl binary
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Wed, 17 May 2017 13:54:19 +0000 (15:54 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 May 2017 21:17:07 +0000 (23:17 +0200)
... as part of hugehelpgz rodata to make build reproducible.

See https://reproducible-builds.org/ for why this is good

Closes #1490

src/mkhelp.pl

index 4b540744cc2c52931871d4bb7e1665d9753413b0..93bbde6213b84e5046e6b03a4fa741c169b499eb 100644 (file)
@@ -129,7 +129,7 @@ if($c)
     my $content = join("", @out);
     my $gzippedContent;
     IO::Compress::Gzip::gzip(
-        \$content, \$gzippedContent, Level => 9, TextFlag => 1) or die "gzip failed:";
+        \$content, \$gzippedContent, Level => 9, TextFlag => 1, Time=>0) or die "gzip failed:";
     $gzip = length($content);
     $gzipped = length($gzippedContent);