Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clang 3.2 has a broken std::shared_ptr implementation when using libs…

…tdc++. This is a temporary fix until Clang3.3 becomes common.
  • Loading branch information...
commit 0e2187671d343ab3fdcd11b5c34395476ef8de2b 1 parent 1f5ba29
@ioquatix ioquatix authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 teapot.rb
View
4 teapot.rb
@@ -52,6 +52,8 @@
target.provides "Compiler/clang" do
default cc "clang"
default cxx "clang++"
+
+ append cxxflags "-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_"
end
target.provides :compiler => "Compiler/clang"
@@ -69,7 +71,7 @@
define_target "compiler-clang-3.2" do |target|
target.provides "Compiler/clang-3.2" do
default cc "clang-3.2"
- default cxx "clang++-3.2"
+ default cxx "clang++-3.2"
end
target.provides :compiler => "Compiler/clang-3.2"
Please sign in to comment.
Something went wrong with that request. Please try again.