From 2d39a9dcdbdef1202d890a81505e7d33fe04cde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Mon, 20 Apr 2020 00:56:48 +0200 Subject: Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) * Remove no-longer-necessary LTO checks from keyboards' config.h files * Remove unnecessary LTO check in @danielo515's Ergodox EZ keymap * Remove unnecessary USE_Link_Time_Optimization checks from keyboards' config.h files Note: DISABLE_LEADER doesn't seem to be used anywhere --- keyboards/zinc/config.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'keyboards/zinc') diff --git a/keyboards/zinc/config.h b/keyboards/zinc/config.h index 9c60d631b..712db0ac6 100644 --- a/keyboards/zinc/config.h +++ b/keyboards/zinc/config.h @@ -40,11 +40,7 @@ along with this program. If not, see . // ./tmk_core // ...... -#ifdef USE_Link_Time_Optimization - // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), - // so just disable them - #define NO_ACTION_MACRO - #define NO_ACTION_FUNCTION -#endif // USE_Link_Time_Optimization +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION //#endif /* CONFIG_H */ -- cgit v1.2.3