diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-01-12 03:11:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-18 23:28:40 +0000 |
commit | c7fc89c136311c69bc96edf110e988f1be691781 (patch) | |
tree | 0d9111de72313973466eceefe079d70622ead51a /meta/recipes-extended/wget/wget.inc | |
parent | d4c7091362569af08ea67d57925ffb91579ce3bd (diff) | |
download | openembedded-core-c7fc89c136311c69bc96edf110e988f1be691781.tar.gz |
wget: improve reproducibility
Remove build host references from the internally
generated file version.c. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `wget --version' which do not have
side effect.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/wget/wget.inc')
-rw-r--r-- | meta/recipes-extended/wget/wget.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 1299edb720..e374e6d8ab 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc @@ -10,6 +10,9 @@ inherit autotools gettext texinfo update-alternatives pkgconfig EXTRA_OECONF = "--with-ssl=gnutls --disable-rpath --disable-iri \ --without-libgnutls-prefix ac_cv_header_uuid_uuid_h=no" +EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ + DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' + ALTERNATIVE_${PN} = "wget" ALTERNATIVE_${PN}_class-nativesdk = "" ALTERNATIVE_PRIORITY = "100" |