28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
|
diff -ruN boost_1_48_0.orig/tools/build/v2/tools/gcc.jam boost_1_48_0/tools/build/v2/tools/gcc.jam
|
||
|
--- boost_1_48_0.orig/tools/build/v2/tools/gcc.jam 2011-06-06 22:36:21.000000000 +0200
|
||
|
+++ boost_1_48_0/tools/build/v2/tools/gcc.jam 2011-11-16 13:15:49.071254804 +0100
|
||
|
@@ -1063,8 +1063,7 @@
|
||
|
}
|
||
|
case * :
|
||
|
{
|
||
|
- option = -pthread ;
|
||
|
- libs = rt ;
|
||
|
+ # pass appropriate options via OpenWrt
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diff -ruN boost_1_48_0.orig/tools/build/v2/tools/gcc.py boost_1_48_0/tools/build/v2/tools/gcc.py
|
||
|
--- boost_1_48_0.orig/tools/build/v2/tools/gcc.py 2011-01-25 19:06:12.000000000 +0100
|
||
|
+++ boost_1_48_0/tools/build/v2/tools/gcc.py 2011-11-16 13:16:12.601254423 +0100
|
||
|
@@ -685,8 +685,8 @@
|
||
|
# 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
|