diff options
author | Zoltan Varga <vargaz@gmail.com> | 2015-10-14 21:56:23 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2015-10-14 21:56:23 +0300 |
commit | 0d989e2d0259d17d41a195f8d28b3844a4652e7b (patch) | |
tree | 8b986f5711c8263a21c1783288e213117a104bd6 | |
parent | b6e6e1ac955072c9237caa1c60415be874ccca7e (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.py | 2 |
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 () |