--- gn-git-05eed8f62/build//gen.py.000 2024-08-08 12:54:47.000000000 -0700 +++ gn-git-05eed8f62/build//gen.py 2024-08-08 13:00:34.377906175 -0700 @@ -231,14 +231,7 @@ def is_gcc(cxx): """Return True iff the compiler at `cxx` is GCC based.""" - ret = subprocess.run( - f'{cxx} -dM -E -', - shell=True, - stdin=subprocess.DEVNULL, - text=True, - capture_output=True) - - return ret.returncode == 0 and "#define __GNUC__" in ret.stdout and not "#define __clang__" in ret.stdout + return True def GenerateLastCommitPosition(host, header): ROOT_TAG = 'initial-commit' @@ -594,7 +587,7 @@ win_manifest = os.path.relpath( os.path.join(REPO_ROOT, "build/windows.manifest.xml"), options.out_path) ldflags.extend(['/DEBUG', '/MACHINE:x64', '/MANIFEST:EMBED', - f'/MANIFESTINPUT:{win_manifest}']) + "/MANIFESTINPUT:{win_manifest}"]) static_libraries = { 'base': {'sources': [