From e83fe4b8ce4943b3a41f157bcb6909d68b721b60 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 6 Mar 2017 02:59:47 +0000 Subject: [PATCH] litecross: build binutils with --enable-deterministic-archives binutils' ar program defaults to creating timestamp in archives, which breaks reproducible builds. this misfeature can be explicitly turned off on every usage (-D), or be disabled completely at build time using the --enable-deterministic-archives option. since the former requires patches for every package, having the toolchain doing the right thing by default seems to be the much better choice. the configure option is available since binutils 2.20, so it should be safe to use by now. --- litecross/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litecross/Makefile b/litecross/Makefile index c7c583f..e9a8e14 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -60,6 +60,7 @@ FULL_TOOLCHAIN_CONFIG = --enable-languages=c,c++ \ --disable-libmudflap --disable-libsanitizer \ --disable-gnu-indirect-function \ --disable-libmpx \ + --enable-deterministic-archives \ --enable-libstdcxx-time FULL_MUSL_CONFIG = $(MUSL_CONFIG) \