summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index cc31d3f02..30bbc141c 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -2952,9 +2952,11 @@ class Element(Plugin):
element = queue.pop()
old_ready_for_runtime = element.__ready_for_runtime
+ old_strict_cache_key = element.__strict_cache_key
element._update_state()
- if element.__ready_for_runtime != old_ready_for_runtime:
+ if element.__ready_for_runtime != old_ready_for_runtime or \
+ element.__strict_cache_key != old_strict_cache_key:
for rdep in element.__reverse_dependencies:
queue.push(rdep._unique_id, rdep)