summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-07-10 08:31:16 -0400
committerAndrew Morrow <acm@mongodb.com>2015-07-10 10:48:11 -0400
commit56ed85c71a8e2a0f0cc70a092b51344d6be186d3 (patch)
tree87f48ae4a6ebeff727210d183cae82d07d08e6c1 /SConstruct
parentc0313e0a29e515cb8391ebcd98b615ec63c6e913 (diff)
downloadmongo-56ed85c71a8e2a0f0cc70a092b51344d6be186d3.tar.gz
SERVER-19353 Do not use the deprecated boost system interfaces
(cherry picked from commit 55af30c1040e346e09dbf6b3aa496a241685dc78)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 4b398422e4f..3c11aba90a6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2126,6 +2126,12 @@ def doConfigure(myenv):
Exit(1)
conf.FindSysLibDep("wiredtiger", ["wiredtiger"])
+ conf.env.Append(
+ CPPDEFINES=[
+ "BOOST_SYSTEM_NO_DEPRECATED",
+ ]
+ )
+
if use_system_version_of_library("boost"):
if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
print( "can't find boost headers" )