Skip to content
Snippets Groups Projects
Commit f8628cee authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

call cc as "cc" (or $CC) even if it is clang

parent 064fb88e
Loading
...@@ -31,6 +31,7 @@ else: ...@@ -31,6 +31,7 @@ else:
ver = subprocess.run([cc, '--version'], capture_output=True).stdout ver = subprocess.run([cc, '--version'], capture_output=True).stdout
if b'clang' in ver.split(): if b'clang' in ver.split():
tools.append('clang') tools.append('clang')
os.environ['CC'] = cc # make sure we call it as we saw it
envvars = {'PATH' : os.environ['PATH']} envvars = {'PATH' : os.environ['PATH']}
if 'PKG_CONFIG_PATH' in os.environ: if 'PKG_CONFIG_PATH' in os.environ:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment