diff options
Diffstat (limited to 'keyboards/lets_split/sockets')
| -rw-r--r-- | keyboards/lets_split/sockets/config.h | 9 | ||||
| -rw-r--r-- | keyboards/lets_split/sockets/rules.mk | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h index 6939d37dc..e73c45722 100644 --- a/keyboards/lets_split/sockets/config.h +++ b/keyboards/lets_split/sockets/config.h | |||
| @@ -85,3 +85,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 85 | //#define NO_ACTION_ONESHOT | 85 | //#define NO_ACTION_ONESHOT |
| 86 | //#define NO_ACTION_MACRO | 86 | //#define NO_ACTION_MACRO |
| 87 | //#define NO_ACTION_FUNCTION | 87 | //#define NO_ACTION_FUNCTION |
| 88 | |||
| 89 | #ifdef USE_Link_Time_Optimization | ||
| 90 | // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), | ||
| 91 | // so just disable them | ||
| 92 | #define NO_ACTION_MACRO | ||
| 93 | #define NO_ACTION_FUNCTION | ||
| 94 | |||
| 95 | #define DISABLE_LEADER | ||
| 96 | #endif // USE_Link_Time_Optimization \ No newline at end of file | ||
diff --git a/keyboards/lets_split/sockets/rules.mk b/keyboards/lets_split/sockets/rules.mk index e14d18d8d..da04decf4 100644 --- a/keyboards/lets_split/sockets/rules.mk +++ b/keyboards/lets_split/sockets/rules.mk | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | 1 | BACKLIGHT_ENABLE = no |
| 2 | AUDIO_ENABLE = yes | 2 | AUDIO_ENABLE = yes |
| 3 | RGBLIGHT_ENABLE = yes #Don't enable this along with I2C | 3 | RGBLIGHT_ENABLE = yes #Don't enable this along with I2C |
| 4 | |||
| 5 | EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization | ||
