forked from mirrors/qmk_userspace
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:
parent
3f392c09b6
commit
92385b3fb6
79 changed files with 85 additions and 99 deletions
|
|
@ -1,7 +1,7 @@
|
|||
RGB_MATRIX_ENABLE = WS2812
|
||||
MOUSEKEY_ENABLE = no
|
||||
OLED_DRIVER_ENABLE = yes
|
||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#This enables Link Time Optimization.This can save a good chunk of space(several KB for me), but the macro and function... functions cause it to error out.
|
||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
#Build Options
|
||||
#change to "no" to disable the options, or define them in the Makefile in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue