summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-02 16:51:03 -0700
committerGitHub <noreply@github.com>2021-11-03 10:51:03 +1100
commitb05f0bb23145f40b42876276b0824895dda960bf (patch)
treeda815132fe0f052f73c06fd97e8b281edec0ee4c
parent5da04fb45b0d5cddc6f49f88ea9c6a4037ef82ce (diff)
[Keyboard] Reduce compile size for melgeek mach80 (#15034)
-rwxr-xr-xkeyboards/melgeek/mach80/keymaps/via/rules.mk1
-rwxr-xr-xkeyboards/melgeek/mach80/rev1/rules.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/melgeek/mach80/keymaps/via/rules.mk b/keyboards/melgeek/mach80/keymaps/via/rules.mk
index 36b7ba9cbc..1e5b99807c 100755
--- a/keyboards/melgeek/mach80/keymaps/via/rules.mk
+++ b/keyboards/melgeek/mach80/keymaps/via/rules.mk
@@ -1,2 +1 @@
VIA_ENABLE = yes
-LTO_ENABLE = yes
diff --git a/keyboards/melgeek/mach80/rev1/rules.mk b/keyboards/melgeek/mach80/rev1/rules.mk
index a4d7206493..d390b07400 100755
--- a/keyboards/melgeek/mach80/rev1/rules.mk
+++ b/keyboards/melgeek/mach80/rev1/rules.mk
@@ -21,4 +21,6 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = yes # Use RGB matrix
RGB_MATRIX_DRIVER = IS31FL3741
+LTO_ENABLE = yes
+
LAYOUTS = tkl_ansi