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:
authorZoltan Varga <vargaz@gmail.com>2015-10-14 21:56:23 +0300
committerZoltan Varga <vargaz@gmail.com>2015-10-14 21:56:23 +0300
commit0d989e2d0259d17d41a195f8d28b3844a4652e7b (patch)
tree8b986f5711c8263a21c1783288e213117a104bd6
parentb6e6e1ac955072c9237caa1c60415be874ccca7e (diff)
Pass --enable-libcpp=yes to llvm's configure instead of setting the CXXFLAGS, since the latter doesn't cause -stdlib=libc++ to show up in llvm-config --cxxflags, breaking the mono build.
-rw-r--r--packages/mono-llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/mono-llvm.py b/packages/mono-llvm.py
index e03d4dd..439d908 100644
--- a/packages/mono-llvm.py
+++ b/packages/mono-llvm.py
@@ -22,6 +22,6 @@ class MonoLlvmPackage (GitHubPackage):
#LLVM says that libstdc++4.6 is broken and we should use libstdc++4.7. This switches it to the right libstdc++.
if Package.profile.name == 'darwin':
- self.local_configure_flags.extend (['CXXFLAGS=-stdlib=libc++'])
+ self.local_configure_flags.extend (['--enable-libcpp=yes'])
MonoLlvmPackage ()