Skip to content

Commit 9d996f4

Browse files
authored
Merge pull request #132 from vilhelmgray/bootstrap_race_fix
makefile: Fix bootstrap recipe race condition
2 parents f008be8 + 94764a6 commit 9d996f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ bootstrap-dist:
10631063
#
10641064
BOOTSTRAP_FBC := bootstrap/fbc$(EXEEXT)
10651065
.PHONY: bootstrap
1066-
bootstrap: rtlib gfxlib2 $(BOOTSTRAP_FBC)
1066+
bootstrap: gfxlib2 $(BOOTSTRAP_FBC)
10671067
mkdir -p bin
10681068
cp $(BOOTSTRAP_FBC) $(FBC_EXE)
10691069

@@ -1089,7 +1089,7 @@ endif
10891089
ifneq ($(filter darwin freebsd linux netbsd openbsd solaris,$(TARGET_OS)),)
10901090
BOOTSTRAP_LIBS := -lncurses -lm -pthread
10911091
endif
1092-
$(BOOTSTRAP_FBC): $(BOOTSTRAP_OBJ)
1092+
$(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ)
10931093
$(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS)
10941094

10951095
.PHONY: clean-bootstrap

0 commit comments

Comments
 (0)