summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
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:26:15 +0100
commit51059ee20ddc4e7584700bc3ef04a8ce54c1312c (patch)
tree879dcdb0cfe91771b6108ea8690e4ea6c5adae79 /meta/recipes-devtools
parent1bf1af525af0d9c5335b6d671eeb2891500d6d93 (diff)
downloadopenembedded-core-contrib-51059ee20ddc4e7584700bc3ef04a8ce54c1312c.tar.gz
openembedded-core-contrib-51059ee20ddc4e7584700bc3ef04a8ce54c1312c.tar.bz2
openembedded-core-contrib-51059ee20ddc4e7584700bc3ef04a8ce54c1312c.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 (From OE-Core rev: df0d525c02780b5a0bd7a177a249c55f41797476) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-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)}"