X-Git-Url: https://git.donarmstrong.com/?p=qmk_firmware.git;a=blobdiff_plain;f=keyboards%2Fhelix%2Fconfig.h;h=fbfbd328043425aa52f0bf696e9fbc284a531eef;hp=7bd4d2645687a671bb56ff45e9d77a87cc67dc31;hb=b29799f8874a86d22b6eca4ce1352f394b276b7a;hpb=0a005834624e9b3247bcd48fdc1790df8611ba86 diff --git a/keyboards/helix/config.h b/keyboards/helix/config.h index 7bd4d2645..fbfbd3280 100644 --- a/keyboards/helix/config.h +++ b/keyboards/helix/config.h @@ -39,4 +39,13 @@ 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 + + #define DISABLE_LEADER +#endif // USE_Link_Time_Optimization + #endif /* CONFIG_H */