summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/builder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/builder.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua
index 77fe019cc..505ba07fb 100644
--- a/xmake/rules/c++/modules/modules_support/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/builder.lua
@@ -178,11 +178,9 @@ function should_build(target, sourcefile, bmifile, opt)
-- need build this object?
local depvalues = {compinst:program(), compflags}
local lastmtime = os.isfile(bmifile or objectfile) and os.mtime(dependfile) or 0
-
if dryrun or depend.is_changed(dependinfo, {lastmtime = lastmtime, values = depvalues}) then
return true
end
-
return false
end