Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kyte <alexmkyte@gmail.com>2018-07-03 03:12:12 +0300
committerGitHub <noreply@github.com>2018-07-03 03:12:12 +0300
commitd6f51e15db1c8e9646ec603246d29cb38e78c789 (patch)
tree30027f8ca5fd8c5983a3b69124b146f496357f3e
parent49f196cda788a4fef253b0b10e7227ea7dd54a0a (diff)
parent5688015333f8e773d27706b92e5c5ba6e87e8e7e (diff)
Merge pull request #72 from alexanderkyte/xcrun_fix
[runtime] Fix reference to C compiler, 'xcrun gcc' fails when building llvm
-rw-r--r--bockbuild/darwinprofile.py8
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'