Skip to content

Commit 9ddc87f

Browse files
committed
[make] Add LTO_AUTO option
1 parent 41f202f commit 9ddc87f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

engine/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ endif
115115
ifneq (${LTO},)
116116
OPTS_INTERNAL += -flto
117117
endif
118+
ifneq (${LTO_AUTO},)
119+
OPTS_INTERNAL += -flto=auto
120+
endif
118121

119122
ifneq (${LTO_THIN},)
120123
OPTS_INTERNAL += -flto=thin

0 commit comments

Comments
 (0)