Skip to content

Commit f9fa866

Browse files
committed
Merge pull request godotengine#82352 from bruvzg/fix_compiler_det
Fix compiler detection.
2 parents adfbd8e + b0508e0 commit f9fa866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def get_compiler_version(env):
10211021
# Not using -dumpversion as some GCC distros only return major, and
10221022
# Clang used to return hardcoded 4.2.1: # https://reviews.llvm.org/D56803
10231023
try:
1024-
version = subprocess.check_output([env.subst(env["CXX"]), "--version"], shell=True).strip().decode("utf-8")
1024+
version = subprocess.check_output([env.subst(env["CXX"]), "--version"]).strip().decode("utf-8")
10251025
except (subprocess.CalledProcessError, OSError):
10261026
print("Couldn't parse CXX environment variable to infer compiler version.")
10271027
return ret

0 commit comments

Comments
 (0)