2012-01-23 12:31:38 +00:00
|
|
|
--- a/tools/build/v2/tools/gcc.jam
|
|
|
|
+++ b/tools/build/v2/tools/gcc.jam
|
2012-02-14 17:20:23 +00:00
|
|
|
@@ -1063,8 +1063,7 @@ rule setup-threading ( targets * : sourc
|
2011-11-16 17:09:20 +00:00
|
|
|
}
|
|
|
|
case * :
|
|
|
|
{
|
|
|
|
- option = -pthread ;
|
|
|
|
- libs = rt ;
|
|
|
|
+ # pass appropriate options via OpenWrt
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-23 12:31:38 +00:00
|
|
|
--- a/tools/build/v2/tools/gcc.py
|
|
|
|
+++ b/tools/build/v2/tools/gcc.py
|
|
|
|
@@ -685,8 +685,8 @@ elif bjam.variable('UNIX'):
|
2011-11-16 17:09:20 +00:00
|
|
|
# Darwin has no threading options, don't set anything here.
|
|
|
|
pass
|
|
|
|
else:
|
|
|
|
- flags('gcc', 'OPTIONS', ['<threading>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
|