Skip to content

Commit e509c8b

Browse files
committed
Makefile: use parallel by default
1 parent 88487fd commit e509c8b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ ifneq ($(MOLD_INSTALLED),)
55
MOLD := mold -run
66
endif
77

8+
# if no -j option is given, add it
9+
ifeq (,$(findstring -j,$(MAKEFLAGS)))
10+
MAKEFLAGS += -j
11+
endif
12+
813
EXE_SUFFIX:=
914
ifeq ($(OS),Windows_NT)
1015
EXE_SUFFIX:=.exe

0 commit comments

Comments
 (0)