Set clang as the C compiler and clang++ as the C++ compiler.

This commit is contained in:
sephiroth99 2015-09-22 00:57:51 -04:00 committed by Ben Vanik
parent 542f5ba8e5
commit 9134061044
1 changed files with 2 additions and 2 deletions

View File

@ -503,8 +503,8 @@ class BaseBuildCommand(Command):
print('ERROR: don\'t know how to build on this platform.') print('ERROR: don\'t know how to build on this platform.')
else: else:
# TODO(benvanik): allow gcc? # TODO(benvanik): allow gcc?
os.environ['CXX'] = 'clang++-3.8' os.environ['CXX'] = 'clang++'
os.environ['CC'] = 'clang++-3.8' os.environ['CC'] = 'clang'
result = shell_call([ result = shell_call([
'make', 'make',
'-Cbuild/', '-Cbuild/',