mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Remove manual enable of LTO within user keymaps (#15378)
This commit is contained in:
parent
f7e7671f69
commit
e04f6c5d38
|
@ -1,7 +1,7 @@
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
KEY_LOCK_ENABLE = yes
|
KEY_LOCK_ENABLE = yes
|
||||||
|
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
UNICODE_ENABLE = no
|
UNICODE_ENABLE = no
|
||||||
MOUSEKEY_ENABLE = no
|
MOUSEKEY_ENABLE = no
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,6 @@ OCEAN_DREAM_ENABLE = yes
|
||||||
LUNA_ENABLE = no # disabled so travis build succeeds
|
LUNA_ENABLE = no # disabled so travis build succeeds
|
||||||
|
|
||||||
# if firmware size over limit, try this option
|
# if firmware size over limit, try this option
|
||||||
CFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
WPM_ENABLE = yes
|
WPM_ENABLE = yes
|
||||||
|
|
|
@ -2,6 +2,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
AUTO_SHIFT_ENABLE = yes # Auto Shift
|
AUTO_SHIFT_ENABLE = yes # Auto Shift
|
||||||
# VELOCIKEY_ENABLE = yes
|
# VELOCIKEY_ENABLE = yes
|
||||||
|
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
# SRC += dz60rgb.c
|
# SRC += dz60rgb.c
|
||||||
|
|
|
@ -2,7 +2,7 @@ DYNAMIC_MACRO_ENABLE = yes
|
||||||
LEADER_ENABLE = yes
|
LEADER_ENABLE = yes
|
||||||
|
|
||||||
# Firmware size Optimizations
|
# Firmware size Optimizations
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
MOUSEKEY_ENABLE = no
|
MOUSEKEY_ENABLE = no
|
||||||
NKRO_ENABLE = no
|
NKRO_ENABLE = no
|
||||||
SPACE_CADET_ENABLE = no
|
SPACE_CADET_ENABLE = no
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
KEY_LOCK_ENABLE = yes
|
KEY_LOCK_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
KEY_LOCK_ENABLE = yes
|
KEY_LOCK_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
# EXTRAFLAGS += -flto
|
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
SPACE_CADET_ENABLE = no
|
SPACE_CADET_ENABLE = no
|
||||||
GRAVE_ESC_ENABLE = no
|
GRAVE_ESC_ENABLE = no
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
KEY_LOCK_ENABLE = yes
|
KEY_LOCK_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
|
@ -41,4 +41,4 @@ ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Link time optimization, should save on firmware size
|
# Link time optimization, should save on firmware size
|
||||||
EXTRAFLAGS += -flto
|
LTO_ENABLE = yes
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
AUDIO_ENABLE = yes # Audio output on port C6
|
AUDIO_ENABLE = yes # Audio output on port C6
|
||||||
EXTRAFLAGS+=-flto # -4-7k
|
LTO_ENABLE = yes # -4-7k
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
AUDIO_ENABLE = yes # Audio output on port C6
|
AUDIO_ENABLE = yes # Audio output on port C6
|
||||||
EXTRAFLAGS+=-flto # -4-7k
|
LTO_ENABLE = yes # -4-7k
|
||||||
MOUSEKEY_ENABLE = no # Mouse keys(-47kb)
|
MOUSEKEY_ENABLE = no # Mouse keys(-47kb)
|
||||||
ISSI_ENABLE = no
|
ISSI_ENABLE = no
|
||||||
BACKLIGHT_ENABLE = no
|
BACKLIGHT_ENABLE = no
|
|
@ -2,4 +2,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB Underglow
|
||||||
AUDIO_ENABLE = no # Enable Audio output
|
AUDIO_ENABLE = no # Enable Audio output
|
||||||
OLED_ENABLE = no # Enable OLED Display
|
OLED_ENABLE = no # Enable OLED Display
|
||||||
VIA_ENABLE = yes # Enable VIA support
|
VIA_ENABLE = yes # Enable VIA support
|
||||||
LTO_ENABLE = yes # CFLAGS=flto
|
LTO_ENABLE = yes # Reduce firmware size
|
||||||
|
|
Loading…
Reference in a new issue