mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
Revert "tools,gyp: don't force build actions with multiple outputs"
This reverts commit 5d8373a498.
Fixes: https://github.com/nodejs/node/issues/23255
PR-URL: https://github.com/nodejs/node/pull/23257
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
a6b55c73b0
commit
a6562685c3
1 file changed
+2
-4
@@ -1758,10 +1758,8 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
|
||||
self.WriteLn('%s: %s' % (' '.join(outputs), intermediate))
|
||||
self.WriteLn('\t%s' % '@:')
|
||||
self.WriteLn('%s: %s' % ('.INTERMEDIATE', intermediate))
|
||||
# Don't add `force_append` (FORCE_DO_CMD) to the intermediate sentinal.
|
||||
# Adding it makes the action run alway, even when there are no changes.
|
||||
# (refack): AFAICT because `*.intermediate` files don't have build rules.
|
||||
self.WriteLn('%s: %s' % (intermediate, ' '.join(inputs)))
|
||||
self.WriteLn('%s: %s%s' %
|
||||
(intermediate, ' '.join(inputs), force_append))
|
||||
actions.insert(0, '$(call do_cmd,touch)')
|
||||
|
||||
if actions:
|
||||
|
||||
Reference in new issue
Block a user