aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2019-12-01 06:35:30 -0800
committerGravatar Joel Challis <git@zvecr.com>2019-12-01 14:35:29 +0000
commitdfe18b40aa9bcfa86a62a770c5dfd54cdbfe34c6 (patch)
treed96223a6ecad0f7f13f83685f17e3a8f46c3dd1e
parentf0991420040b8c43529bd1d863c1987fcb8850e4 (diff)
downloadqmk_firmware-dfe18b40aa9bcfa86a62a770c5dfd54cdbfe34c6.tar.gz
[Keyboard] Update Lets Split Sockets to use LTO_ENABLE (#7516)
-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/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-//#define NO_ACTION_MACRO
-//#define NO_ACTION_FUNCTION
-
-#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
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
AUDIO_ENABLE = yes
RGBLIGHT_ENABLE = yes #Don't enable this along with I2C
-EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
+LTO_ENABLE = yes