Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From 240727d3142700af779ca6f5c4677419787bca28 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 28 Apr 2020 16:15:20 -0700 |
| 4 | Subject: [PATCH] Enhance reproducibility |
| 5 | |
| 6 | SetBuildInfo.cmake groks information from build system and emits that |
| 7 | into sourcecode ( header file ) which is then compiled into binary, this |
| 8 | string is build system dependent, therefore can cause reproducibility |
| 9 | issues, here we set static string for LIB_INFO |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE-specific] |
| 12 | |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | --- |
| 15 | src/libcec/CMakeLists.txt | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/src/libcec/CMakeLists.txt b/src/libcec/CMakeLists.txt |
| 19 | index 19a070b..4b3c827 100644 |
| 20 | --- a/src/libcec/CMakeLists.txt |
| 21 | +++ b/src/libcec/CMakeLists.txt |
| 22 | @@ -133,7 +133,7 @@ set(CEC_HEADERS devices/CECRecordingDevice.h |
| 23 | source_group("Header Files" FILES ${CEC_HEADERS}) |
| 24 | |
| 25 | # platform and device specific |
| 26 | -include(cmake/SetBuildInfo.cmake) |
| 27 | +set(LIB_INFO "compiled on ${CMAKE_SYSTEM} ... ") |
| 28 | include(cmake/CheckPlatformSupport.cmake) |
| 29 | |
| 30 | ## create project groups |
| 31 | -- |
| 32 | 2.26.2 |
| 33 | |