]> code.ossystems Code Review - openembedded-core.git/commit
openssl-1.1.1: remove build path from version info
authorMartin Hundebøll <martin@geanix.com>
Thu, 8 Nov 2018 08:25:24 +0000 (09:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
commitcbc9b743a711f07c04cf9f5b2fc3f83da6d28913
tree5f59ec7fb3bd5abc67d8e5437dc50d91b9fb5d83
parent362bd36cbec052d2a37710498c901b699dcf5ca7
openssl-1.1.1: remove build path from version info

The openssl build system generates buildinf.h containing the full
compiler command line used to compile objects. This breaks
reproducibility, as the compile command is baked into libcrypto, where
it is used when running `openssl version -f`.

Add stripped build variables for the compiler and cflags lines, and use
those when generating buildinfo.h.

This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl/0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl_1.1.1.bb