summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-05-12 14:36:01 -0400
committerAndrew Morrow <acm@mongodb.com>2017-04-09 15:04:16 -0400
commit51a9e2738ad3f91c94e203c7e9b8872de90c6d4c (patch)
tree3782f1685cad30641db87d8c0918c44eb07e78ec /SConstruct
parent3554f3ed2972cb2b1cf9db1e9947e56864b554a9 (diff)
downloadmongo-51a9e2738ad3f91c94e203c7e9b8872de90c6d4c.tar.gz
SERVER-28390 Mark targets as Precious during incremental links
(cherry picked from commit 21628d6b2311eb726c01244f6c5dba1edb1f6256)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 19e0e671c4b..bb23b1287cb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2902,6 +2902,10 @@ if split_dwarf.exists(env):
# compilation database entries for the configure tests, which is weird.
env.Tool("compilation_db")
+incremental_link = Tool('incremental_link')
+if incremental_link.exists(env):
+ incremental_link(env)
+
def checkErrorCodes():
import buildscripts.errorcodes as x
if x.checkErrorCodes() == False: