blob: 5e3d5b018a7f0efc3525b8fa5d380511b0d6aa47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ;
}
}
|