aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/lets_split/sockets/config.h11
-rw-r--r--keyboards/lets_split/sockets/rules.mk2
2 files changed, 1 insertions, 12 deletions
diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h
index e8459494b..eb8092a8f 100644
--- a/keyboards/lets_split/sockets/config.h
+++ b/keyboards/lets_split/sockets/config.h
@@ -78,14 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
78//#define NO_ACTION_LAYER 78//#define NO_ACTION_LAYER
79//#define NO_ACTION_TAPPING 79//#define NO_ACTION_TAPPING
80//#define NO_ACTION_ONESHOT 80//#define NO_ACTION_ONESHOT
81//#define NO_ACTION_MACRO
82//#define NO_ACTION_FUNCTION
83
84#ifdef USE_Link_Time_Optimization
85 // LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
86 // so just disable them
87 #define NO_ACTION_MACRO
88 #define NO_ACTION_FUNCTION
89
90 #define DISABLE_LEADER
91#endif // USE_Link_Time_Optimization
diff --git a/keyboards/lets_split/sockets/rules.mk b/keyboards/lets_split/sockets/rules.mk
index da04decf4..7ca588615 100644
--- a/keyboards/lets_split/sockets/rules.mk
+++ b/keyboards/lets_split/sockets/rules.mk
@@ -2,4 +2,4 @@ BACKLIGHT_ENABLE = no
2AUDIO_ENABLE = yes 2AUDIO_ENABLE = yes
3RGBLIGHT_ENABLE = yes #Don't enable this along with I2C 3RGBLIGHT_ENABLE = yes #Don't enable this along with I2C
4 4
5EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization 5LTO_ENABLE = yes