packages/libs/boost/patches/100-do-not-use-librt.patch
swalker 92c8129c46 [packages] boost: fix compile failure (#10535, thanks zhenglei), refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 12:31:38 +00:00

26 lines
895 B
Diff

--- 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', ['<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