Merge pull request #940 from GoogleChromeLabs/reproducible-mozjpeg

Make MozJPEG builds reproducible
This commit is contained in:
Surma
2021-01-19 16:56:53 +00:00
committed by GitHub
3 changed files with 4 additions and 1 deletions

View File

@@ -46,7 +46,10 @@ $(CODEC_DIR)/Makefile: $(CODEC_DIR)/configure
--without-turbojpeg \
--without-simd \
--without-arith-enc \
--without-arith-dec
--without-arith-dec \
--with-build-date=squoosh
# ^ If not provided with a dummy value, MozJPEG includes a build date in the
# binary as part of the version string, making binaries different each time.
$(CODEC_DIR)/configure: $(CODEC_DIR)/configure.ac
cd $(CODEC_DIR) && autoreconf -iv

Binary file not shown.