linamh/dev-libs/boost/files/boost-alpha-threads.patch

25 lines
1.1 KiB
Diff
Raw Normal View History

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 ;
}
}