summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-06-17 11:33:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:23:07 +0100
commitdf0d525c02780b5a0bd7a177a249c55f41797476 (patch)
tree3a5ab5acc22a44c91dc7ca6351e9a5f56aebf44e /meta/recipes-devtools/binutils
parentba0493391207c5e170548a58c49ca593b4d61e08 (diff)
downloadopenembedded-core-df0d525c02780b5a0bd7a177a249c55f41797476.tar.gz
openembedded-core-df0d525c02780b5a0bd7a177a249c55f41797476.tar.bz2
openembedded-core-df0d525c02780b5a0bd7a177a249c55f41797476.zip
binutils: configure with --enable-deterministic-archives
Causes ar to use zero for timestamps and uids/gids by default when creating static archives, which helps make builds deterministic. https://bugzilla.redhat.com/show_bug.cgi?id=1124342 https://wiki.debian.org/ReproducibleBuilds/TimestampsInStaticLibraries Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 43e2aa232b..70589ecad9 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -72,6 +72,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--disable-werror \
+ --enable-deterministic-archives \
--enable-plugins \
${LDGOLD} \
${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"