1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 3 Nov 2021 21:11:32 +0000
Bug-Debian: https://bugs.debian.org/998420
Subject: [PATCH] build_info.hpp.in: Patch to use CMAKE_SYSTEM_NAME instead
of CMAKE_SYSTEM.
CMAKE_SYSTEM captures the kernel version, which can reasonably vary
between builds. Use CMAKE_SYSTEM_NAME instead, which does not include
the version.
https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_via_CMAKE_SYSTEM_issue.html
---
src/build_info.hpp.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/build_info.hpp.in
+++ b/src/build_info.hpp.in
@@ -23,4 +23,4 @@
#define STR_MINIA_VERSION "${gatb-tool-version}"
#define STR_MINIA_COMPILATION_FLAGS "${gatb-core-flags}"
#define STR_MINIA_COMPILER "${CMAKE_C_COMPILER} (${CMAKE_CXX_COMPILER_VERSION})"
-#define STR_MINIA_OPERATING_SYSTEM "${CMAKE_SYSTEM}"
+#define STR_MINIA_OPERATING_SYSTEM "${CMAKE_SYSTEM_NAME}"
|