summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-09-16 19:18:21 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-09-16 20:18:57 (GMT)
commit56a3f51b12b4fc2328cb76be58d623eb5a1f63e4 (patch)
treedb7fff628f85b60d2949b58062229ff74791efa3 /BuildTools/SCons
parent8b4837cbe9da12f008c5cd5d964114154b9dee96 (diff)
downloadswift-56a3f51b12b4fc2328cb76be58d623eb5a1f63e4.zip
swift-56a3f51b12b4fc2328cb76be58d623eb5a1f63e4.tar.bz2
Disable Boost Signals warnings
Change-Id: I6bb4c81b1f92a5b038ff034a4e03bab997fe8880
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index ae58bd9..90245a8 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -177,6 +177,7 @@ if allLibsPresent :
if not conf.CheckCXXHeader("boost/uuid/uuid.hpp") :
# FIXME: Remove this workaround when UUID is available in most distros
env["BOOST_BUNDLED_UUID_ONLY"] = True
+ env["BOOST_FLAGS"]["CPPDEFINES"] = ["BOOST_SIGNALS_NO_DEPRECATION_WARNING"]
else :
env["BOOST_BUNDLED"] = True
conf.Finish()