mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
boost: makefile and patches updated to v1.57
Signed-off-by: Carlos M. Ferreira <carlosmf.pt@gmail.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Index: boost_1_57_0/tools/build/src/tools/gcc.jam
|
||||
===================================================================
|
||||
--- boost_1_57_0.orig/tools/build/src/tools/gcc.jam
|
||||
+++ boost_1_57_0/tools/build/src/tools/gcc.jam
|
||||
@@ -1037,7 +1037,7 @@ rule setup-threading ( targets * : sourc
|
||||
case *bsd : option = -pthread ; # There is no -lrt on BSD.
|
||||
case sgi : # gcc on IRIX does not support multi-threading.
|
||||
case darwin : # No threading options.
|
||||
- case * : option = -pthread ; libs = rt ;
|
||||
+ case * : # pass appropriate options via OpenWrt
|
||||
}
|
||||
|
||||
if $(option)
|
||||
Index: boost_1_57_0/tools/build/src/tools/gcc.py
|
||||
===================================================================
|
||||
--- boost_1_57_0.orig/tools/build/src/tools/gcc.py
|
||||
+++ boost_1_57_0/tools/build/src/tools/gcc.py
|
||||
@@ -700,8 +700,8 @@ elif bjam.variable('UNIX'):
|
||||
# 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
|
||||
Reference in New Issue
Block a user