aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/action.h2
-rw-r--r--tmk_core/common/command.c2
2 files changed, 2 insertions, 2 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" {
29#endif 29#endif
30 30
31/* Disable macro and function features when LTO is enabled, since they break */ 31/* Disable macro and function features when LTO is enabled, since they break */
32#ifdef LINK_TIME_OPTIMIZATION_ENABLE 32#ifdef LTO_ENABLE
33# ifndef NO_ACTION_MACRO 33# ifndef NO_ACTION_MACRO
34# define NO_ACTION_MACRO 34# define NO_ACTION_MACRO
35# endif 35# endif
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c
index ef6a39c0f..feeb2202e 100644
--- a/tmk_core/common/command.c
+++ b/tmk_core/common/command.c
@@ -180,7 +180,7 @@ static void print_version(void) {
180#ifdef NKRO_ENABLE 180#ifdef NKRO_ENABLE
181 " NKRO" 181 " NKRO"
182#endif 182#endif
183#ifdef LINK_TIME_OPTIMIZATION_ENABLE 183#ifdef LTO_ENABLE
184 " LTO" 184 " LTO"
185#endif 185#endif
186 186