History

Fix parallel make targets

my last patch here fixed a missing dependency, but in the wrong way. It would build some object files twice, which could race. The lib/all target already builds both libtcc{,b}1.a libs, so a simple dependency is enough.

Michael Matz committed 6 years ago

Commit 11fc58f1 parent 90e09ed1 file · +1 −2Browse files

Unified · Split

Makefile+1−2
@@ -250,8 +250,7 @@ libtcc1.a : tcc$(EXESUF) FORCE · 249 unmodified lines
250250 @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$*
251251
252252 # TinyCC runtime libraries
253−libtccb1.a : tcc$(EXESUF) FORCE
254− @$(MAKE) -C lib DEFINES='$(DEF-$T)'
253+libtccb1.a : libtcc1.a
255254
256255 # Cross libtcc1.a
257256 %-libtccb1.a : %-tcc$(EXESUF) FORCE

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t