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
250 @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$*250 @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$*
251 251
252# TinyCC runtime libraries252# TinyCC runtime libraries
253libtccb1.a : tcc$(EXESUF) FORCE253libtccb1.a : libtcc1.a
254 @$(MAKE) -C lib DEFINES='$(DEF-$T)'
255 254
256# Cross libtcc1.a255# Cross libtcc1.a
257%-libtccb1.a : %-tcc$(EXESUF) FORCE256%-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