Skip to content

Commit 86ed905

Browse files
committed
Fix make all build rule
1 parent 196cc6d commit 86ed905

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,13 @@ CFG_INFO := $(info cfg: *** compiler is in snapshot transition ***)
226226
CFG_INFO := $(info cfg: *** stage2 and later will not be built ***)
227227
CFG_INFO := $(info cfg:)
228228

229-
all: $(SREQ0) $(SREQ1) $(GENERATED) $(DOCS) $(FUZZ)
229+
all: $(SREQ0$(CFG_HOST_TRIPLE)) $(SREQ1$(CFG_HOST_TRIPLE)) $(GENERATED) $(DOCS) $(FUZZ)
230230
else
231-
all: $(SREQ0) $(SREQ1) $(SREQ2) $(SREQ3) $(GENERATED) $(DOCS) $(FUZZ)
231+
232+
ALL_SREQS = $(foreach target,$(CFG_TARGET_TRIPLES), \
233+
$(SREQ0$(target)) $(SREQ1$(target)) $(SREQ2$(target)) $(SREQ3$(target)))
234+
235+
all: $(ALL_SREQS) $(GENERATED) $(DOCS) $(FUZZ)
232236
endif
233237

234238

0 commit comments

Comments
 (0)