diff options
author | Drashna Jaelre <drashna@live.com> | 2020-08-22 01:21:06 -0700 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-08-29 14:30:02 -0700 |
commit | 92385b3fb617326b129609726020453c8949c7f8 (patch) | |
tree | 29d881897a59f0b1568bbaf21534c81360ad21e6 /tmk_core/common/action.h | |
parent | 3f392c09b60d46d9e4a4d3cc150a26294dea4da7 (diff) | |
download | qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.tar.gz |
Better handle LTO_ENABLE (#9832)
* Better handle LTO_ENABLE
Especially when calling from command line
* Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE
* Remove long for LTO from show_options.mk
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r-- | tmk_core/common/action.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index c82c9c81b..345c030c9 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -29,7 +29,7 @@ extern "C" { #endif /* Disable macro and function features when LTO is enabled, since they break */ -#ifdef LINK_TIME_OPTIMIZATION_ENABLE +#ifdef LTO_ENABLE # ifndef NO_ACTION_MACRO # define NO_ACTION_MACRO # endif |