boost/boost-threading.patch

12 lines
322 B
Diff

--- tools/build/v2/tools/gcc.jam
+++ tools/build/v2/tools/gcc.jam
@@ -368,7 +368,7 @@
}
case * :
{
- flags gcc OPTIONS <threading>multi : -pthread ;
+ flags gcc OPTIONS <threading>multi : -pthread -D_REENTRANT ;
flags gcc FINDLIBS-SA <threading>multi : rt ;
}
}