M keyboards/1upkeyboards/1up60hse/rules.mk => keyboards/1upkeyboards/1up60hse/rules.mk +1 -1
@@ 17,6 17,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
LAYOUTS = 60_ansi
M keyboards/alf/x11/rules.mk => keyboards/alf/x11/rules.mk +1 -1
@@ 17,4 17,4 @@ NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/butterstick/rules.mk => keyboards/butterstick/rules.mk +1 -1
@@ 13,4 13,4 @@ STENO_ENABLE = yes # Needed for chording
OPT_DEFS += -DONLYQWERTY -DDEBUG_MATRIX
SRC += sten.c
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/clueboard/66_hotswap/prototype/rules.mk => keyboards/clueboard/66_hotswap/prototype/rules.mk +1 -1
@@ 3,4 3,4 @@
#
BACKLIGHT_DRIVER = custom
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/converter/usb_usb/ble/rules.mk => keyboards/converter/usb_usb/ble/rules.mk +1 -1
@@ 15,4 15,4 @@ AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = AdafruitBLE
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/georgi/rules.mk => keyboards/georgi/rules.mk +1 -1
@@ 12,5 12,5 @@ CONSOLE_ENABLE = yes
COMMAND_ENABLE = no
NKRO_ENABLE = yes
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
SRC += matrix.c i2c_master.c sten.c
M keyboards/hineybush/h87a/rules.mk => keyboards/hineybush/h87a/rules.mk +1 -1
@@ 17,4 17,4 @@ NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/idobo/rules.mk => keyboards/idobo/rules.mk +1 -1
@@ 17,6 17,6 @@ NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto # Use link time optimization
+LTO_ENABLE = yes # Use link time optimization
LAYOUTS = ortho_5x15
M keyboards/noxary/260/rules.mk => keyboards/noxary/260/rules.mk +1 -1
@@ 17,6 17,6 @@ NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
LAYOUTS = 60_ansi 60_iso 60_hhkb 60_tsangan_hhkb
M keyboards/percent/booster/rules.mk => keyboards/percent/booster/rules.mk +1 -1
@@ 17,6 17,6 @@ NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
LAYOUTS = numpad_5x4
M keyboards/scarletbandana/rules.mk => keyboards/scarletbandana/rules.mk +1 -1
@@ 17,4 17,4 @@ NKRO_ENABLE = no # USB Nkey Rollover
AUDIO_ENABLE = yes # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Miera
-EXTRAFLAGS += -flto
+LTO_ENABLE = yes
M keyboards/tetris/rules.mk => keyboards/tetris/rules.mk +1 -1
@@ 16,5 16,5 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:/
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = yes
RGBLIGHT_ENABLE = yes
-EXTRAFLAGS = -flto
+LTO_ENABLE = yes
ENCODER_ENABLE = yes
M keyboards/tkc/candybar/lefty/rules.mk => keyboards/tkc/candybar/lefty/rules.mk +1 -1
@@ 7,7 7,7 @@ BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#
-# EXTRAFLAGS+=-flto
+# LTO_ENABLE = yes
LTO_ENABLE = yes
BACKLIGHT_ENABLE = no
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
M keyboards/tkc/candybar/righty/rules.mk => keyboards/tkc/candybar/righty/rules.mk +1 -1
@@ 7,7 7,7 @@ BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#
-# EXTRAFLAGS+=-flto
+# LTO_ENABLE = yes
LTO_ENABLE = yes
BACKLIGHT_ENABLE = no
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite