|
Boost-Build : |
Subject: [Boost-build] clang trunk and -mthreads
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-10-02 16:47:29
I use b2 from trunk with clang from trunk under cygwin. I just rebuilt
clang from trunk, and found it no longer works with trunk b2 because of
this:
clang: error: unknown argument: '-mthreads'
"/usr/local/clang-trunk/bin/clang++" -c -x c++ -std=gnu++11 -O0 -g
-fno-inline -Wall -g -mthreads -DBOOST_FILESYSTEM_STATIC_L
INK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1
-I"../../.." -I"/cygdrive/c/boost/org/trunk" -o "../../../bin/lib
s/quick_check/test/test4.test/clang-linux-trunk/debug/link-static/threading-multi/qcheck/test4.obj"
"qcheck/test4.cpp"
Looks like clang no longer likes the -mthreads option. This should
probably be dealt with in the b2 clang.jam file, but I don't know what
to change. Any help?
-- Eric Niebler Boost.org http://www.boost.org
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk