code: def set_cxx_flags_clib_hook(build_clib, build_info):
      cc = build_clib.compiler
      new_args = []
      new_link_args = []
  
      std_flag = get_cxx_std_flag(cc)
      if std_flag is not None:
          new_args.append(std_flag)
  
      if sys.platform == "darwin":
          # Set min macOS version
          min_macos_flag = "-mmacosx-version-min=10.9"
          if has_flag(cc, min_macos_flag):
              new_args.append(min_macos_flag)
              new_link_args.append(min_macos_flag)
  
      dict_append(
          build_info,
          extra_compiler_args=new_args,
          extra_link_args=new_link_args,
      )
  
file_path: catboost/contrib/python/scipy/py3/scipy/_build_utils/compiler_helper.py
imports: import tempfile
  import os
  import sys
  from numpy.distutils.system_info import dict_append
label_desc: Use image node_id 8 for calling a global function with example usage: set_cxx_flags_clib_hook(build_clib, build_info) without return types