Skip to content

Commit 4bd95dc

Browse files
drashnanoroadsleft
authored andcommitted
Better handle LTO_ENABLE (qmk#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
1 parent 0558e65 commit 4bd95dc

File tree

79 files changed

+85
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+85
-99
lines changed

docs/config_options.md

Lines changed: 1 addition & 3 deletions

docs/ja/config_options.md

Lines changed: 1 addition & 3 deletions

keyboards/1upkeyboards/sweet16/v1/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ BOOTLOADER = caterina
1414
RGBLIGHT_ENABLE = yes
1515
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
1616

17-
LINK_TIME_OPTIMIZATION_ENABLE = yes
17+
LTO_ENABLE = yes

keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONSOLE_ENABLE = yes
1818
RGBLIGHT_ENABLE = no
1919
ENCODER_ENABLE = yes
2020

21-
LINK_TIME_OPTIMIZATION_ENABLE = yes
21+
LTO_ENABLE = yes

keyboards/bm60rgb/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3131
AUDIO_ENABLE = no # Audio output on port C6
3232
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
3333
RGB_MATRIX_ENABLE = WS2812
34-
LINK_TIME_OPTIMIZATION_ENABLE = yes
34+
LTO_ENABLE = yes
3535

3636
# partially generated by KBFirmware JSON to QMK Parser
3737
# https://noroadsleft.github.io/kbf_qmk_converter/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# rules.mk overrides to enable VIA
22

33
VIA_ENABLE = yes
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes

keyboards/clueboard/card/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ UNICODE_ENABLE = no # Unicode
2626
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
2727
AUDIO_ENABLE = yes # Audio output on port C6
2828

29-
LINK_TIME_OPTIMIZATION_ENABLE = yes
29+
LTO_ENABLE = yes

keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ EXTRAKEY_ENABLE = yes # Used for audio control and system control keys
1919
COMBO_ENABLE = yes # Used to allow chording of keys to trigger an action
2020
TAP_DANCE_ENABLE = yes # Used to allow multiple taps of a key to perform different actions
2121

22-
LINK_TIME_OPTIMIZATION_ENABLE = yes # Reduces the compiled firmware size
22+
LTO_ENABLE = yes # Reduces the compiled firmware size
2323

2424
SRC += combo.c tap_dance.c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
RGB_MATRIX_ENABLE = WS2812
22
MOUSEKEY_ENABLE = no
33
OLED_DRIVER_ENABLE = yes
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55

66
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
77
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend

keyboards/crkbd/keymaps/rpbaptist/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#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.
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes
33

44
#Build Options
55
#change to "no" to disable the options, or define them in the Makefile in

keyboards/dz60/keymaps/via/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINK_TIME_OPTIMIZATION_ENABLE = yes
1+
LTO_ENABLE = yes
22
VIA_ENABLE = yes
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
NKRO_ENABLE = yes # USB Nkey Rollover
22
# VELOCIKEY_ENABLE = yes
33

4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
5-
4+
LTO_ENABLE = yes

keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover
22
VELOCIKEY_ENABLE = yes
33
# AUTO_SHIFT_ENABLE = yes # Auto Shift
44

5-
LINK_TIME_OPTIMIZATION_ENABLE = yes
6-
5+
LTO_ENABLE = yes

keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover
22
AUTO_SHIFT_ENABLE = yes # Auto Shift
33
# VELOCIKEY_ENABLE = yes
44

5-
LINK_TIME_OPTIMIZATION_ENABLE = yes
6-
5+
LTO_ENABLE = yes

keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Set any rules.mk overrides for your specific keymap here.
22
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
33

4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
66
TAP_DANCE_ENABLE = yes
77
MOUSEKEY_ENABLE = yes # Mouse keys(+4700b).

keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set any rules.mk overrides for your specific keymap here.
22
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
3-
LINK_TIME_OPTIMIZATION_ENABLE = yes
3+
LTO_ENABLE = yes
44
COMMAND_ENABLE = no
55
RGBLIGHT_ENABLE = no
66
TAP_DANCE_ENABLE=yes

keyboards/flx/virgo/rules.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ UNICODE_ENABLE = no # Unicode
3030
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3131
AUDIO_ENABLE = no # Audio output on port C6
3232
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
33-
LINK_TIME_OPTIMIZATION_ENABLE = yes
34-
33+
LTO_ENABLE = yes

keyboards/gray_studio/think65/hotswap/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6
3232
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
3333
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
3434

35-
LINK_TIME_OPTIMIZATION_ENABLE = yes
35+
LTO_ENABLE = yes
3636

3737
LAYOUTS = 65_ansi_blocker
3838

keyboards/gray_studio/think65/solder/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6
3232
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
3333
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
3434

35-
LINK_TIME_OPTIMIZATION_ENABLE = yes
35+
LTO_ENABLE = yes
3636

3737
LAYOUTS = 65_ansi_blocker
3838

keyboards/handwired/promethium/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ SRC += rgbsps.c
4545
SRC += analog.c
4646
SRC += matrix.c
4747

48-
LINK_TIME_OPTIMIZATION_ENABLE = yes
48+
LTO_ENABLE = yes

keyboards/helix/pico/keymaps/biacco/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
99
AUDIO_ENABLE = yes # Audio output on port B5
10-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
10+
LTO_ENABLE = no # if firmware size over limit, try this option
1111

1212
# Helix Spacific Build Options
1313
# you can uncomment and edit follows 6 Variables

keyboards/helix/pico/keymaps/default/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
EXTRAKEY_ENABLE = yes # Audio control and System control
99
AUDIO_ENABLE = yes # Audio output on port B5
10-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
10+
LTO_ENABLE = no # if firmware size over limit, try this option
1111

1212
# Helix Spacific Build Options
1313
# you can uncomment and edit follows 6 Variables

keyboards/helix/pico/keymaps/mtei/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
99
AUDIO_ENABLE = yes # Audio output on port B5
10-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
10+
LTO_ENABLE = no # if firmware size over limit, try this option
1111

1212
# Helix Spacific Build Options
1313
# you can uncomment and edit follows 6 Variables

keyboards/helix/pico/local_features.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ endif
106106

107107
ifeq ($(strip $(AUDIO_ENABLE)),yes)
108108
ifeq ($(strip $(RGBLIGHT_ENABLE)),yes)
109-
LINK_TIME_OPTIMIZATION_ENABLE = yes
109+
LTO_ENABLE = yes
110110
endif
111111
ifeq ($(strip $(OLED_ENABLE)),yes)
112-
LINK_TIME_OPTIMIZATION_ENABLE = yes
112+
LTO_ENABLE = yes
113113
endif
114114
endif
115115

@@ -120,7 +120,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),)
120120
$(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE))
121121
$(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE))
122122
$(info -- OPT_DEFS = $(OPT_DEFS))
123-
$(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE))
123+
$(info -- LTO_ENABLE = $(LTO_ENABLE))
124124
$(info )
125125
endif
126126
endif

keyboards/helix/rev2/keymaps/default/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/edvorakjp/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99
TAP_DANCE_ENABLE = yes
1010

1111
# Helix Spacific Build Options

keyboards/helix/rev2/keymaps/five_rows/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# yes, no +1500
1212
# yes, yes +3200
1313
# no, yes +400
14-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
14+
LTO_ENABLE = no # if firmware size over limit, try this option
1515

1616
# Helix Spacific Build Options
1717
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/froggy/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/froggy_106/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/led_test/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/keymaps/yshrsmz/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
66
# See TOP/docs/config_options.md for more information.
77
#
8-
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
8+
LTO_ENABLE = no # if firmware size over limit, try this option
99

1010
# Helix Spacific Build Options
1111
# you can uncomment and edit follows 7 Variables

keyboards/helix/rev2/local_features.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),)
119119
$(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE))
120120
$(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE))
121121
$(info -- OPT_DEFS = $(OPT_DEFS))
122-
$(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE))
122+
$(info -- LTO_ENABLE = $(LTO_ENABLE))
123123
$(info )
124124
endif
125125
endif

keyboards/hineybush/h88/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ UNICODE_ENABLE = no # Unicode
3030
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3131
AUDIO_ENABLE = no # Audio output on port C6
3232
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
33-
LINK_TIME_OPTIMIZATION_ENABLE = yes
33+
LTO_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
LINK_TIME_OPTIMIZATION_ENABLE = yes
1+
LTO_ENABLE = yes

keyboards/id80/keymaps/via/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINK_TIME_OPTIMIZATION_ENABLE = yes
1+
LTO_ENABLE = yes
22
VIA_ENABLE = yes

keyboards/kc60/keymaps/noroadsleft/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://github.com/qmk/qmk_firmware/issues/3448#issuecomment-406636125
22
# EXTRAFLAGS += -flto
3-
LINK_TIME_OPTIMIZATION_ENABLE = yes
3+
LTO_ENABLE = yes
44

55
MOUSEKEY_ENABLE = no # Mouse keys
66
# COMMAND_ENABLE = no # Commands for debug and configuration
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VIA_ENABLE = yes
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes
33
MOUSEKEY_ENABLE = yes
44
CONSOLE_ENABLE = yes
55
COMMAND_ENABLE = no

keyboards/keebio/iris/keymaps/pvinis/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ RGBLIGHT_ENABLE = yes # rgb leds underlight
44
ENCODER_ENABLE = yes # rotary knob
55

66
# Some extra stuff to make firmware smaller.
7-
LINK_TIME_OPTIMIZATION_ENABLE = yes
7+
LTO_ENABLE = yes
88
CONSOLE_ENABLE = no
99
COMMAND_ENABLE = no
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VIA_ENABLE = yes
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes

keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LINK_TIME_OPTIMIZATION_ENABLE = yes
1+
LTO_ENABLE = yes
22
RGBLIGHT_ENABLE = yes
33
EXTRAKEY_ENABLE = yes
44
AUDIO_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VIA_ENABLE = yes
22
CONSOLE_ENABLE = yes
3-
LINK_TIME_OPTIMIZATION_ENABLE = yes
3+
LTO_ENABLE = yes
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays
22
ENCODER_ENABLE = yes # Enables the use of one or more encoders
33
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55

6-
SRC += oled.c
6+
SRC += oled.c

keyboards/kyria/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ AUDIO_ENABLE = no # Audio output on port C6
3131
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
3232
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
3333
SPLIT_KEYBOARD = yes # Split common
34-
LINK_TIME_OPTIMIZATION_ENABLE =yes
34+
LTO_ENABLE = yes
3535

3636
DEFAULT_FOLDER = kyria/rev1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VIA_ENABLE = yes
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes
33
RGBLIGHT_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
OLED_DRIVER_ENABLE = yes
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
MOUSEKEY_ENABLE = no
2-
LINK_TIME_OPTIMIZATION_ENABLE = yes
2+
LTO_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SRC += muse.c
22
# Set any rules.mk overrides for your specific keymap here.
33
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55
COMMAND_ENABLE = no
66
MOUSEKEY_ENABLE = no

keyboards/planck/keymaps/sascha/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AUTO_SHIFT_ENABLE = yes
22
AUTO_SHIFT_MODIFIERS = yes
33
UNICODE_ENABLE = yes
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55

66
ifeq ($(strip $(KEYBOARD)), planck/rev5)
77
BACKLIGHT_ENABLE = yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SRC += muse.c
22
# Set any rules.mk overrides for your specific keymap here.
33
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
4-
LINK_TIME_OPTIMIZATION_ENABLE = yes
4+
LTO_ENABLE = yes
55
COMMAND_ENABLE = no
66
MOUSEKEY_ENABLE = no
77
TAP_DANCE_ENABLE=yes

0 commit comments

Comments
 (0)