summaryrefslogtreecommitdiffstats
path: root/meta
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-29 19:34:46 +0100
commit6564ab0ff6be2a2a697798ee99106e1bc3208a94 (patch)
treec8965de8f63d5e6066c2ebcfb83e82b34dfca356 /meta
parent8bcfed5a5d8c53a481028ef6e55008670cfbe8dc (diff)
downloadopenembedded-core-6564ab0ff6be2a2a697798ee99106e1bc3208a94.tar.gz
openembedded-core-6564ab0ff6be2a2a697798ee99106e1bc3208a94.tar.bz2
openembedded-core-6564ab0ff6be2a2a697798ee99106e1bc3208a94.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> Signed-off-by: Armin Kuster <akuster@mvista.com>
Diffstat (limited to 'meta')
-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)}"