diff options
Diffstat (limited to 'projects/boost/build.sh')
-rwxr-xr-x | projects/boost/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/boost/build.sh b/projects/boost/build.sh index b34d55f35..37552ed3b 100755 --- a/projects/boost/build.sh +++ b/projects/boost/build.sh @@ -16,7 +16,9 @@ ################################################################################ # Build boost -./bootstrap.sh && ./b2 headers +CXXFLAGS="$CXXFLAGS -stdlib=libc++ -pthread" LDFLAGS="-stdlib=libc++" \ + ./bootstrap.sh --with-toolset=clang --prefix=/usr; +./b2 toolset=clang cxxflags="$CXXFLAGS -stdlib=libc++ -pthread" linkflags="-stdlib=libc++ -pthread" headers; # Very simple build rule, but sufficient here. #boost regexp |