diff --git a/pyperf/_collect_metadata.py b/pyperf/_collect_metadata.py index e69bc8ea..33481502 100644 --- a/pyperf/_collect_metadata.py +++ b/pyperf/_collect_metadata.py @@ -111,6 +111,11 @@ def collect_python_metadata(metadata): cflags = normalize_text(cflags) metadata['python_cflags'] = cflags + config_args = sysconfig.get_config_var('CONFIG_ARGS') + if config_args: + config_args = normalize_text(config_args) + metadata['python_config_args'] = config_args + # GC disabled? try: import gc