mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Avoid creating temporary output files
This change also removes the futimens() call on the Landlock Make output file workaround, since it caused problems with commands like fixupobj which modify-in-place. It turns out if a file is opened for writing and then no writes actually occur, then the modified time doesn't change.
This commit is contained in:
parent
4c3ab6d11e
commit
2d64b9994b
15 changed files with 502 additions and 446 deletions
4
third_party/quickjs/quickjs.mk
vendored
4
third_party/quickjs/quickjs.mk
vendored
|
@ -132,12 +132,12 @@ THIRD_PARTY_QUICKJS_CHECKS = \
|
|||
o/$(MODE)/third_party/quickjs/qjscalc.c: \
|
||||
third_party/quickjs/qjscalc.js \
|
||||
o/$(MODE)/third_party/quickjs/qjsc.com
|
||||
@$(COMPILE) -AQJSC o/$(MODE)/third_party/quickjs/qjsc.com -fbignum -o $@ -c $<
|
||||
@$(COMPILE) -wAQJSC o/$(MODE)/third_party/quickjs/qjsc.com -fbignum -o $@ -c $<
|
||||
|
||||
o/$(MODE)/third_party/quickjs/repl.c: \
|
||||
third_party/quickjs/repl.js \
|
||||
o/$(MODE)/third_party/quickjs/qjsc.com
|
||||
@$(COMPILE) -AQJSC o/$(MODE)/third_party/quickjs/qjsc.com -o $@ -m -c $<
|
||||
@$(COMPILE) -wAQJSC o/$(MODE)/third_party/quickjs/qjsc.com -o $@ -m -c $<
|
||||
|
||||
o/$(MODE)/third_party/quickjs/qjs.com.dbg: \
|
||||
$(THIRD_PARTY_QUICKJS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue