summaryrefslogtreecommitdiffstats
path: root/keyboards/zinc/keymaps/monks/rules.mk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-28 03:50:06 +1000
committerGitHub <noreply@github.com>2021-09-28 03:50:06 +1000
commitae993dc068b18f87174a8e313d84fcf88281147f (patch)
tree303ae77fcf36aad4ceeee3e2fc99c16345e5d3cf /keyboards/zinc/keymaps/monks/rules.mk
parente8b7cee9d321d24467fe408f2915cc69a44bcc4d (diff)
Zinc: Clean up LTO rules (#14597)
Diffstat (limited to 'keyboards/zinc/keymaps/monks/rules.mk')
-rw-r--r--keyboards/zinc/keymaps/monks/rules.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/keyboards/zinc/keymaps/monks/rules.mk b/keyboards/zinc/keymaps/monks/rules.mk
index d8ec4497e7..46646f919c 100644
--- a/keyboards/zinc/keymaps/monks/rules.mk
+++ b/keyboards/zinc/keymaps/monks/rules.mk
@@ -15,6 +15,7 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
SWAP_HANDS_ENABLE = no # Enable one-hand typing
+LTO_ENABLE = no # if firmware size over limit, try this option
define ZINC_CUSTOMISE_MSG
$(info Zinc customize)
@@ -33,7 +34,6 @@ LED_BOTH_ENABLE = no # LED backlight and underglow
LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc
LED_ANIMATIONS = yes # LED animations
IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
-Link_Time_Optimization = no # if firmware size over limit, try this option
#### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE.
#### Do not enable these with audio at the same time.
@@ -104,10 +104,6 @@ ifeq ($(strip $(LED_ANIMATIONS)), yes)
endif
-ifeq ($(strip $(Link_Time_Optimization)),yes)
- EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
-endif
-
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend