Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
2e2ccb99
Commit
2e2ccb99
authored
Apr 04, 2020
by
Rémi Verschelde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCons: Expand CXX in check for vanilla Clang
I had missed it in
df7ecfc4
it seems. Fixes #37575.
parent
9abb415d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
methods.py
methods.py
+5
-1
No files found.
methods.py
View file @
2e2ccb99
...
...
@@ -598,7 +598,11 @@ def detect_darwin_sdk_path(platform, env):
def
is_vanilla_clang
(
env
):
if
not
using_clang
(
env
):
return
False
version
=
subprocess
.
check_output
([
env
[
"CXX"
],
"--version"
])
.
strip
()
.
decode
(
"utf-8"
)
try
:
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
False
return
not
version
.
startswith
(
"Apple"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment