From 7ba48e00bcbc7cd95b2752ec51a6a1cee376d3a7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 20 May 2025 15:25:31 +0500 Subject: [PATCH] 3rdparty: libbacktrace: sort entries in config.h to keep it the same between reconfigurations Multicheck parallel nature caused config.h entries to be sorted randomly and libbacktrace recompiled on every occasion. --- 3rdparty/libbacktrace/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3rdparty/libbacktrace/wscript b/3rdparty/libbacktrace/wscript index 5906f8f7..8cfc1d0f 100644 --- a/3rdparty/libbacktrace/wscript +++ b/3rdparty/libbacktrace/wscript @@ -2,6 +2,7 @@ # encoding: utf-8 from waflib import TaskGen +from waflib.Tools.c_config import DEFKEYS FRAGMENT_ATOMIC='''int i; int main(void) { @@ -138,6 +139,8 @@ def configure(conf): msg='Checking for in parallel' ) + conf.env[DEFKEYS].sort() + conf.write_config_header() conf.define('BACKTRACE_SUPPORTED', 1)