diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-09-26 10:18:16 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-09-26 14:21:00 +0300 |
commit | 89b568c2b09cb8d80021f97238f6cdb840fc302b (patch) | |
tree | 2487910d6f30dd585f2fe6ec00aa5de02395d21b | |
parent | 7e67b496ff7e35f66b88adcbdd5b252d01739cbb (diff) | |
download | redot-engine-89b568c2b09cb8d80021f97238f6cdb840fc302b.tar.gz |
Fix compiler detection.
-rw-r--r-- | methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py index e18b19b991..d68316f0f0 100644 --- a/methods.py +++ b/methods.py @@ -1021,7 +1021,7 @@ def get_compiler_version(env): # Not using -dumpversion as some GCC distros only return major, and # Clang used to return hardcoded 4.2.1: # https://reviews.llvm.org/D56803 try: - version = subprocess.check_output([env.subst(env["CXX"]), "--version"], shell=True).strip().decode("utf-8") + version = subprocess.check_output([env.subst(env["CXX"]), "--version"]).strip().decode("utf-8") except (subprocess.CalledProcessError, OSError): print("Couldn't parse CXX environment variable to infer compiler version.") return ret |