Skip to content

Commit

Permalink
Merge pull request #523 from eleanorLYJ/fix-LTO-warning
Browse files Browse the repository at this point in the history
Fix LTO warning by enabling parallel compilation
  • Loading branch information
jserv authored Dec 25, 2024
2 parents 337f4ef + cb7def0 commit f7fd15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CFLAGS += -flto
endif
endif
ifeq ("$(CC_IS_GCC)", "1")
CFLAGS += -flto
CFLAGS += -flto=auto
endif
ifeq ("$(CC_IS_CLANG)", "1")
CFLAGS += -flto=thin -fsplit-lto-unit
Expand Down

0 comments on commit f7fd15b

Please sign in to comment.