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:
committed by
James Young
parent
3f392c09b6
commit
92385b3fb6
@@ -75,6 +75,6 @@ further optimizations can be done on that side.
|
||||
|
||||
/* disable action features */
|
||||
// #define NO_ACTION_ONESHOT // 462 bytes <- this needs to be un-commented out if Link Time Optimization is disabled, otherwise file is too large
|
||||
// The two below are implicit since we use LINK_TIME_OPTIMIZATION_ENABLE (in rules.mk)
|
||||
// The two below are implicit since we use LTO_ENABLE (in rules.mk)
|
||||
// #define NO_ACTION_MACRO
|
||||
// #define NO_ACTION_FUNCTION
|
||||
|
||||
@@ -27,6 +27,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
SPACE_CADET_ENABLE = no
|
||||
# Saves about 5% of space:
|
||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
#LAYOUTS = ortho_1x4
|
||||
|
||||
Reference in New Issue
Block a user