clang: warning: optimization flag '-finline-functions' is not supported
In file included from libs/thread/src/pthread/once.cpp:8:
In file included from libs/thread/src/pthread/./once_atomic.cpp:9:
In file included from ./boost/thread/once.hpp:20:
In file included from ./boost/thread/pthread/once_atomic.hpp:16:
./boost/thread/detail/move.hpp:31:10: fatal error: 'type_traits' file not found
#include <type_traits>
It seems adding -stdlib=libc++ to the cxxflags fixes the issue
This also occurs with the x86_64-apple-darwin11 prefix