On Thu, Apr 27, 2017 at 3:13 AM, Henry Yeh via Boost-build <boost-build@lists.boost.org> wrote:
Hi All,
I'm a newbie to Boost, and I want to build boost_1_64_0 against libc++.
However, it seemed useless to pass flags cxxflags="-stdlib=libc++" and
linkflags="-stdlib=libc++" as Boost would still end up linking against
libstdc++.
I stuck this in my user-config.jam:
using clang : 11
: "/usr/bin/clang++"
: <cxxflags>"-std=c++11 -stdlib=libc++ -Wno-variadic-macros" <linkflags>"-stdlib=libc++"
;
and then built with "--toolset=clang-11"
-- Marshall