summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorTausif Rahman <62212154+trahman1318@users.noreply.github.com>2022-05-11 12:25:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-11 13:10:18 +0000
commit3006c91474164db5b5d350030ef289e766440b0f (patch)
treee6f2b55aa90812b15f4a559a7241a4cb620b5dbe /site_scons
parent6e672225c74eb32b42bc2bdbc50d14c77234f9dd (diff)
downloadmongo-3006c91474164db5b5d350030ef289e766440b0f.tar.gz
SERVER-54107 compile_commands.json should have an order-only dependency on generated-sources
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/ninja.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/site_scons/site_tools/ninja.py b/site_scons/site_tools/ninja.py
index 0b0d3ed88bf..27b59a69538 100644
--- a/site_scons/site_tools/ninja.py
+++ b/site_scons/site_tools/ninja.py
@@ -876,6 +876,7 @@ class NinjaState:
ninja_file, '-x ' if self.env.get('NINJA_COMPDB_EXPAND') else ''
)
},
+ order_only=[generated_sources_alias],
)
ninja.build(