add boost with gcc 44 hack
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1447 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
24
dev-libs/boost/files/boost-alpha-threads.patch
Normal file
24
dev-libs/boost/files/boost-alpha-threads.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -urN boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam boost_1_33_0/tools/build/v1/gcc-tools.jam
|
||||
--- boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam 2005-09-12 00:31:23.000000000 -0400
|
||||
+++ boost_1_33_0/tools/build/v1/gcc-tools.jam 2005-09-12 00:32:45.000000000 -0400
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
case * :
|
||||
{
|
||||
- flags gcc CFLAGS <threading>multi : -pthread ;
|
||||
+ flags gcc CFLAGS <threading>multi : -D_REENTRANT -pthread ;
|
||||
flags gcc LINKFLAGS <threading>multi : -pthread ;
|
||||
flags gcc FINDLIBS <threading>multi : rt ;
|
||||
}
|
||||
diff -urN boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam boost_1_33_0/tools/build/v2/tools/gcc.jam
|
||||
--- boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam 2005-09-12 00:31:23.000000000 -0400
|
||||
+++ boost_1_33_0/tools/build/v2/tools/gcc.jam 2005-09-12 00:33:04.000000000 -0400
|
||||
@@ -368,7 +368,7 @@
|
||||
}
|
||||
case * :
|
||||
{
|
||||
- flags gcc OPTIONS <threading>multi : -pthread ;
|
||||
+ flags gcc OPTIONS <threading>multi : -D_REENTRANT -pthread ;
|
||||
flags gcc FINDLIBS-SA <threading>multi : rt ;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user