Better handle LTO_ENABLE (#9832)

* Better handle LTO_ENABLE

Especially when calling from command line

* Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE

* Remove long for LTO from show_options.mk
This commit is contained in:
Drashna Jaelre
2020-08-22 01:21:06 -07:00
committed by James Young
parent 3f392c09b6
commit 92385b3fb6
79 changed files with 85 additions and 99 deletions

View File

@@ -1,6 +1,6 @@
OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays
ENCODER_ENABLE = yes # Enables the use of one or more encoders
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
SRC += oled.c
SRC += oled.c

View File

@@ -31,6 +31,6 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
SPLIT_KEYBOARD = yes # Split common
LINK_TIME_OPTIMIZATION_ENABLE =yes
LTO_ENABLE = yes
DEFAULT_FOLDER = kyria/rev1