code: def _override_all_archs(_config_vars):
      """Allow override of all archs with ARCHFLAGS env var"""
      # NOTE: This name was introduced by Apple in OSX 10.5 and
      # is used by several scripting languages distributed with
      # that OS release.
      if "ARCHFLAGS" in os.environ:
          arch = os.environ["ARCHFLAGS"]
          for cv in _UNIVERSAL_CONFIG_VARS:
              if cv in _config_vars and "-arch" in _config_vars[cv]:
                  flags = _config_vars[cv]
                  flags = re.sub("-arch\s+\w+\s", " ", flags)
                  flags = flags + " " + arch
                  _save_modified_value(_config_vars, cv, flags)
  
      return _config_vars
  
file_path: catboost/contrib/tools/python/src/Lib/_osx_support.py
imports: import os
  import re
  import sys
label_desc: Use image node_id 11 for calling a global function with example usage: _override_all_archs(_config_vars) and returns: _config_vars