From 0cb62113729b1dde7d1898b759f435f8173b7b40 Mon Sep 17 00:00:00 2001 From: lanyang Date: Fri, 9 Sep 2022 15:12:13 +0800 Subject: [PATCH] [tools/link-orger]Sort objects before generate building target to get same link-order/map files/BIN files from the same source files. --- tools/building.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/building.py b/tools/building.py index d9fecd1567..ea0da42566 100644 --- a/tools/building.py +++ b/tools/building.py @@ -778,6 +778,7 @@ def DoBuilding(target, objects): for group in Projects: local_group(group, objects) + objects = sorted(objects) program = Env.Program(target, objects) EndBuilding(target, program)