summaryrefslogtreecommitdiff
path: root/volk/gen/volk_arch_defs.py
diff options
context:
space:
mode:
Diffstat (limited to 'volk/gen/volk_arch_defs.py')
-rw-r--r--volk/gen/volk_arch_defs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/volk/gen/volk_arch_defs.py b/volk/gen/volk_arch_defs.py
index 8ac99b338f..41154d5a7a 100644
--- a/volk/gen/volk_arch_defs.py
+++ b/volk/gen/volk_arch_defs.py
@@ -84,6 +84,8 @@ for arch_xml in archs_xml:
name = flag_xml.attributes["compiler"].value
if not flags.has_key(name): flags[name] = list()
flags[name].append(flag_xml.firstChild.data)
+ #force kwargs keys to be of type str, not unicode for py25
+ kwargs = dict((str(k), v) for k, v in kwargs.iteritems())
register_arch(flags=flags, checks=checks, **kwargs)
if __name__ == '__main__':