docstr: Return detected arch flags from CFLAGS 
docstr_tok: ["Return","detected","arch","flags","from","CFLAGS"]
code: def _c_arch_flags(self):
      """Return detected arch flags from CFLAGS"""
      import sysconfig
  
      try:
          cflags = sysconfig.get_config_vars()["CFLAGS"]
      except KeyError:
          return []
      arch_re = re.compile(r"-arch\s+(\w+)")
      arch_flags = []
      for arch in arch_re.findall(cflags):
          arch_flags += ["-arch", arch]
      return arch_flags
  
imports: import re
  import os
  import sys
  import warnings
  import platform
  import tempfile
  import hashlib
  import base64
  import subprocess
  from subprocess import Popen, PIPE, STDOUT
  from numpy.distutils.exec_command import filepath_from_subprocess_output
  from numpy.distutils.fcompiler import FCompiler
  from distutils.version import LooseVersion
label_desc: Use image node_id 10 for calling the GnuFCompiler obj's underlying member method code with example usage: obj._c_arch_flags() and returns: arch_flags, list