diff options
author | Drashna Jaelre <drashna@live.com> | 2019-11-04 15:35:47 -0800 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2019-11-04 15:35:47 -0800 |
commit | 29630e6e49487cbf97fa57f47b399d4d5866fe13 (patch) | |
tree | 8377d80ae7af053b17a9aeb4e98b53c973caa039 /tmk_core | |
parent | a836c85e54bfb06cd685a5444eea377374cebea3 (diff) | |
download | firmware-29630e6e49487cbf97fa57f47b399d4d5866fe13.tar.gz firmware-29630e6e49487cbf97fa57f47b399d4d5866fe13.tar.bz2 firmware-29630e6e49487cbf97fa57f47b399d4d5866fe13.zip |
[Core] Add short form LTO_ENABLE (#7259)
For drashna's sanity's sake
Diffstat (limited to 'tmk_core')
-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 db5535346..d43950299 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -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 |