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-29 19:36:02 +0100
commit39d2072ae9c57efef49d016e8af18899b5e5f98c (patch)
treecbf835c9aa780179d1db2afa207f91f061d56235 /meta/recipes-devtools
parent8bdaefd8bd251a04bdf34ef485c098979d5e5e88 (diff)
downloadpoky-39d2072ae9c57efef49d016e8af18899b5e5f98c.tar.gz
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) (From OE-Core rev: 6564ab0ff6be2a2a697798ee99106e1bc3208a94) 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> 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}"
72 72
73EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 73EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
74 --disable-werror \ 74 --disable-werror \
75 --enable-deterministic-archives \
75 --enable-plugins \ 76 --enable-plugins \
76 ${LDGOLD} \ 77 ${LDGOLD} \
77 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" 78 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"