diff options
author | Alexander Kyte <alkyte@microsoft.com> | 2018-07-03 03:08:31 +0300 |
---|---|---|
committer | Alexander Kyte <alkyte@microsoft.com> | 2018-07-03 03:08:31 +0300 |
commit | 5688015333f8e773d27706b92e5c5ba6e87e8e7e (patch) | |
tree | 30027f8ca5fd8c5983a3b69124b146f496357f3e | |
parent | 49f196cda788a4fef253b0b10e7227ea7dd54a0a (diff) |
[runtime] Fix reference to C compiler, 'xcrun gcc' fails when building llvm
-rw-r--r-- | bockbuild/darwinprofile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bockbuild/darwinprofile.py b/bockbuild/darwinprofile.py index 1f6da4a..c3f38a8 100644 --- a/bockbuild/darwinprofile.py +++ b/bockbuild/darwinprofile.py @@ -122,11 +122,11 @@ class DarwinProfile (UnixProfile): self.gcc_flags.extend(['-O0', '-ggdb3']) if os.getenv('BOCKBUILD_USE_CCACHE') is None: - self.env.set('CC', 'xcrun gcc') - self.env.set('CXX', 'xcrun g++') + self.env.set('CC', 'xcrun clang') + self.env.set('CXX', 'xcrun clang++') else: - self.env.set('CC', 'ccache xcrun gcc') - self.env.set('CXX', 'ccache xcrun g++') + self.env.set('CC', 'ccache xcrun clang') + self.env.set('CXX', 'ccache xcrun clang++') if self.bockbuild.cmd_options.arch == 'default': self.bockbuild.cmd_options.arch = 'darwin-32' |