Skip to content
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...
1 parent 1f5ba29 commit 0e2187671d343ab3fdcd11b5c34395476ef8de2b @ioquatix ioquatix committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 teapot.rb
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_"
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"
target.provides :compiler => "Compiler/clang-3.2"

0 comments on commit 0e21876

Please sign in to comment.
Something went wrong with that request. Please try again.