--- setup.py.orig	2024-03-18 17:44:40
+++ setup.py	2024-03-18 17:46:55
@@ -20,6 +20,8 @@
     try:
         import cpuinfo
         cpu_info = cpuinfo.get_cpu_info()
+        if cpu_info is not None and 'flags' not in cpu_info:
+            cpu_info['flags'] = []
     except Exception:
         # newer cpuinfo versions fail to import on unsupported architectures
         cpu_info = None
