[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1041/8267] binutils: configure with --enable-deterministic-archives



commit 51059ee20ddc4e7584700bc3ef04a8ce54c1312c
Author: Andre McCurdy <armccurdy gmail com>
Date:   Fri Jun 17 11:33:12 2016 -0700

    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>

 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 43e2aa2..70589ec 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)}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]