diff options
author | Drashna Jaelre <drashna@live.com> | 2019-11-04 15:35:47 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | b4ff413d6987aad5485bde7eb06191b69c810369 (patch) | |
tree | ebf5262c910abd565bd6f9ff2358f0c549afc834 | |
parent | e87c2fe8cee4ea6a212309ce64a10328d629d941 (diff) |
[Core] Add short form LTO_ENABLE (#7259)
For drashna's sanity's sake
-rw-r--r-- | tmk_core/common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk index a32abd8ebc..a69056b7dc 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -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 |