summaryrefslogtreecommitdiffstats
path: root/build/compile_commands.py
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2019-08-09 15:18:05 +0200
committerUwe Klotz <uklotz@mixxx.org>2019-08-09 15:18:20 +0200
commit21a3f262c299954a6e9c57a286b6da8edb99de39 (patch)
tree2cdabe861ebf6ed64ae0ab09c9922f71c2a09298 /build/compile_commands.py
parentd4c144f02eb1b74b4c359f32a39fec97a58eb736 (diff)
Fix signature of changed_since_last_build_node() for SCons 3.1.x
Add a 4th parameter with default value: https://scons.org/doc/3.1.0/HTML/scons-api/SCons.Node-module.html#changed_since_last_build_nodehttps://scons.org/doc/3.1.0/HTML/scons-api/SCons.Node-module.html
Diffstat (limited to 'build/compile_commands.py')
-rw-r--r--build/compile_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/compile_commands.py b/build/compile_commands.py
index 2c8532ba76..7d393e8efc 100644
--- a/build/compile_commands.py
+++ b/build/compile_commands.py
@@ -48,7 +48,7 @@ class __CompilationDbNode(SCons.Node.Python.Value):
self.Decider(changed_since_last_build_node)
-def changed_since_last_build_node(node, target, prev_ni):
+def changed_since_last_build_node(node, target, prev_ni, repo_node=None):
""" Dummy decider to force always building"""
return True