]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/helix/config.h
Keyboard: fixed build break (size overflow) HelixPico with Backlight or Underglow...
[qmk_firmware.git] / keyboards / helix / config.h
index 7bd4d2645687a671bb56ff45e9d77a87cc67dc31..fbfbd328043425aa52f0bf696e9fbc284a531eef 100644 (file)
@@ -39,4 +39,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //     ./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 */