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.
This commit is contained in:
Alibek Omarov
2025-05-20 15:25:31 +05:00
parent bb620d1265
commit 7ba48e00bc

View File

@@ -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)