[Core] Add short form LTO_ENABLE (#7259)

For drashna's sanity's sake
This commit is contained in:
Drashna Jaelre
2019-11-04 15:35:47 -08:00
committed by Florian Didron
parent e87c2fe8ce
commit b4ff413d69

View File

@@ -207,6 +207,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