toolchain: binutils: enhance build reproducability
authorSteven Barth <cyrus@openwrt.org>
Mon, 29 Jun 2015 06:47:42 +0000 (06:47 +0000)
committerSteven Barth <cyrus@openwrt.org>
Mon, 29 Jun 2015 06:47:42 +0000 (06:47 +0000)
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@web.de>
SVN-Revision: 46137

toolchain/binutils/Makefile

index 9043db7..0276512 100644 (file)
@@ -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 \