fix: architecture environments overrides inherited

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-06-22 18:32:41 +08:00
parent a1ae78330c
commit e568b3f8ee
+2 -1
View File
@@ -27,4 +27,5 @@ def set_target(arch: str):
global _target
_target = arch
for key in all[_target].keys():
os.environ[key] = all[_target][key]
if not os.environ.get(key):
os.environ[key] = all[_target][key]