--- a/tools/build/v2/tools/gcc.jam +++ b/tools/build/v2/tools/gcc.jam @@ -1018,8 +1018,7 @@ rule setup-threading ( targets * : sourc } case * : { - option = -pthread ; - libs = rt ; + # pass appropriate options via OpenWrt } } --- a/tools/build/v2/tools/gcc.py +++ b/tools/build/v2/tools/gcc.py @@ -685,8 +685,8 @@ elif bjam.variable('UNIX'): # Darwin has no threading options, don't set anything here. pass else: - flags('gcc', 'OPTIONS', ['multi'], ['-pthread']) - flags('gcc', 'FINDLIBS-SA', [], ['rt']) + # pass appropriate options via OpenWrt + pass def cpu_flags(toolset, variable, architecture, instruction_set, values, default=None): #FIXME: for some reason this fails. Probably out of date feature code