From e564af3a3d9f7838cfd5fb89da9b896c0264512c Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@cea.fr>
Date: Wed, 6 Mar 2024 13:25:19 +0000
Subject: [PATCH] fix typo

---
 share/machdeps/make_machdep/make_machdep.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/machdeps/make_machdep/make_machdep.py b/share/machdeps/make_machdep/make_machdep.py
index 76bc99e3047..e1e9db4c677 100755
--- a/share/machdeps/make_machdep/make_machdep.py
+++ b/share/machdeps/make_machdep/make_machdep.py
@@ -400,7 +400,7 @@ if proc.returncode == 0:
         macro_var = macro.group(1)
         macro_val = macro.group(2)
         # Python >= 3.7: dict is guaranteed to preserve insertion order
-        dict[macro_var] = macro_val
+        custom[macro_var] = macro_val
     machdep["custom_defs"] = custom
 else:
     logging.warning(f"could not determine predefined macros. compiler output is:\n{proc.stderr}")
-- 
GitLab