]> 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, 15 Nov 2018 09:12:50 +0000 (10:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Nov 2018 17:01:05 +0000 (17:01 +0000)
commit8f5b6a3789a7fcbac0a384b84b4c7ef5994023b6
treee0fdf95650c5f2dd3bf3eeca48741fbb4adc1c17
parentbade7cc344c2f0e9316f973c34e9c9dfcbdbe32d
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