1
0
Fork 0

[Core] Add short form LTO_ENABLE (#7259)

For drashna's sanity's sake
This commit is contained in:
Drashna Jael're 2019-11-04 15:35:47 -08:00 committed by James Young
parent a836c85e54
commit 29630e6e49
2 changed files with 5 additions and 1 deletions

View file

@ -203,6 +203,9 @@ ifeq ($(strip $(SHARED_EP_ENABLE)), yes)
TMK_COMMON_DEFS += -DSHARED_EP_ENABLE
endif
ifeq ($(strip $(LTO_ENABLE)), yes)
LINK_TIME_OPTIMIZATION_ENABLE = yes
endif
ifeq ($(strip $(LINK_TIME_OPTIMIZATION_ENABLE)), yes)
EXTRAFLAGS += -flto