summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerryMathews <terry@terrymathews.net>2019-06-06 16:08:27 -0400
committerDrashna Jaelre <drashna@live.com>2019-06-06 13:08:27 -0700
commit29c7fa6efc48385445673a77ec58e880746e6524 (patch)
tree8940d2895c16482b220a1f3928a3b21b5dcdb56f
parentde29da973a3171d55834a1401b72772726d5a354 (diff)
[Keyboard] Candybar: updated rules.mk (#6083)
* Candybar: updated rules.mk Disabled console and command to get compiled size under flash space limitations. * Candybar: Enable LINK_TIME_OPTIMIZATION_ENABLE
-rw-r--r--keyboards/candybar/rules.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/candybar/rules.mk b/keyboards/candybar/rules.mk
index 0bc9a5b3e6..a0365a20b5 100644
--- a/keyboards/candybar/rules.mk
+++ b/keyboards/candybar/rules.mk
@@ -36,14 +36,15 @@ DFU_SUFFIX_ARGS = -p DF11 -v 0483
# Build Options
# comment out to disable the options.
#
-EXTRAFLAGS+=-flto
+# EXTRAFLAGS+=-flto
+LINK_TIME_OPTIMIZATION_ENABLE = yes
BACKLIGHT_ENABLE = no
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
AUDIO_ENABLE = no