[OpenWrt-Devel] [PATCH] toolchain: binutils: enhance build reproducability

Dirk Neukirchen dirkneukirchen at web.de
Thu Jun 25 06:23:12 EDT 2015


built toolchain utilities will always operate in deterministic mode:
https://sourceware.org/binutils/docs-2.25/binutils/ar-cmdline.html

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>

diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 9043db7..0276512 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -32,6 +32,7 @@ BINUTILS_CONFIGURE:= \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--with-sysroot=$(TOOLCHAIN_DIR) \
+		--enable-deterministic-archives \
 		--enable-plugins \
 		--disable-multilib \
 		--disable-werror \
-- 
2.4.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list