From 5ccc00aec48888812efc119ed5bf251f426870b3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Thu, 12 Nov 2026 15:27:48 -0800
Subject: [PATCH 1/2] Use CMAKE_SYSTEM_NAME to Avoid embedding running kernel
 version.

https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_via_CMAKE_SYSTEM_issue.html
---
 .../thirdparty/gatb-core/src/gatb/system/api/config.hpp.in      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mapsembler2_extremities/thirdparty/gatb-core/src/gatb/system/api/config.hpp.in b/mapsembler2_extremities/thirdparty/gatb-core/src/gatb/system/api/config.hpp.in
index 9266b7b..e228e9a 100644
--- a/mapsembler2_extremities/thirdparty/gatb-core/src/gatb/system/api/config.hpp.in
+++ b/mapsembler2_extremities/thirdparty/gatb-core/src/gatb/system/api/config.hpp.in
@@ -24,7 +24,7 @@
 #define STR_COMPILATION_FLAGS   "${gatb-core-flags}"
 #define STR_COMPILER            "${CMAKE_C_COMPILER}  (${CMAKE_CXX_COMPILER_VERSION})"
 
-#define STR_OPERATING_SYSTEM    "${CMAKE_SYSTEM}"
+#define STR_OPERATING_SYSTEM    "${CMAKE_SYSTEM_NAME}"
 
 #define KSIZE_1  ${KSIZE_1}
 #define KSIZE_2  ${KSIZE_2}
-- 
2.47.3

