Skip to content

Commit b921f76

Browse files
authored
Fix for EMCC_USE_NINJA + embuilder --force. NFC (#19181)
Since --force set `do_clear` we cannot use that as a sign not do run the build.
1 parent ef15cbb commit b921f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def main():
268268
time_taken = time.time() - start_time
269269
logger.info('...success. Took %s(%.2fs)' % (('%02d:%02d mins ' % (time_taken // 60, time_taken % 60) if time_taken >= 60 else ''), time_taken))
270270

271-
if USE_NINJA and not do_clear:
271+
if USE_NINJA and args.operation != 'clear':
272272
system_libs.build_deferred()
273273

274274
if len(tasks) > 1 or USE_NINJA:

0 commit comments

Comments
 (0)