diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-06-17 11:33:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-23 14:26:15 +0100 |
commit | 51059ee20ddc4e7584700bc3ef04a8ce54c1312c (patch) | |
tree | 879dcdb0cfe91771b6108ea8690e4ea6c5adae79 | |
parent | 1bf1af525af0d9c5335b6d671eeb2891500d6d93 (diff) | |
download | poky-51059ee20ddc4e7584700bc3ef04a8ce54c1312c.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)
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>
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 1 |
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 | ||
73 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 73 | EXTRA_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)}" |