Skip to content

Commit f7fd15b

Browse files
authored
Merge pull request #523 from eleanorLYJ/fix-LTO-warning
Fix LTO warning by enabling parallel compilation
2 parents 337f4ef + cb7def0 commit f7fd15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CFLAGS += -flto
4848
endif
4949
endif
5050
ifeq ("$(CC_IS_GCC)", "1")
51-
CFLAGS += -flto
51+
CFLAGS += -flto=auto
5252
endif
5353
ifeq ("$(CC_IS_CLANG)", "1")
5454
CFLAGS += -flto=thin -fsplit-lto-unit

0 commit comments

Comments
 (0)