summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorAustin Steady <austin.steady@10gen.com>2016-06-16 16:20:53 -0400
committerSam Kleinman <samk@10gen.com>2016-06-17 17:51:41 -0400
commit737d557b1729d8d6c2892832b75630f045787ec1 (patch)
tree13fbe4d3bcc876df7fa39ad0393ae5036acba9e2 /site_scons
parent5e6cd4a7157fcd8b2dc2c92acb96114a55184674 (diff)
downloadmongo-737d557b1729d8d6c2892832b75630f045787ec1.tar.gz
SERVER-24555: make compilation_db compatible with scons 2.4
Signed-off-by: Sam Kleinman <samk@10gen.com>
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/compilation_db.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/site_scons/site_tools/compilation_db.py b/site_scons/site_tools/compilation_db.py
index 283487cda17..a4c82eebd53 100644
--- a/site_scons/site_tools/compilation_db.py
+++ b/site_scons/site_tools/compilation_db.py
@@ -35,9 +35,10 @@ __COMPILATION_DB_ENTRIES=[]
class __CompilationDbNode(SCons.Node.Node):
def __init__(self):
SCons.Node.Node.__init__(self)
+ self.Decider(changed_since_last_build_node)
- def changed_since_last_build(self, target, prev_ni):
- return True
+def changed_since_last_build_node(node, target, prev_ni):
+ return True
def makeEmitCompilationDbEntry(comstr):
user_action = SCons.Action.Action(comstr)