diff options
| author | Drashna Jaelre <drashna@live.com> | 2020-08-22 01:21:06 -0700 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-08-29 14:30:02 -0700 |
| commit | 92385b3fb617326b129609726020453c8949c7f8 (patch) | |
| tree | 29d881897a59f0b1568bbaf21534c81360ad21e6 /keyboards/tkc | |
| parent | 3f392c09b60d46d9e4a4d3cc150a26294dea4da7 (diff) | |
| download | qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.tar.gz qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.zip | |
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
Diffstat (limited to 'keyboards/tkc')
| -rw-r--r-- | keyboards/tkc/candybar/lefty/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/tkc/candybar/righty/rules.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/tkc/candybar/lefty/rules.mk b/keyboards/tkc/candybar/lefty/rules.mk index 52ef91c47..1edad0835 100644 --- a/keyboards/tkc/candybar/lefty/rules.mk +++ b/keyboards/tkc/candybar/lefty/rules.mk | |||
| @@ -5,7 +5,7 @@ MCU = STM32F072 | |||
| 5 | # comment out to disable the options. | 5 | # comment out to disable the options. |
| 6 | # | 6 | # |
| 7 | # EXTRAFLAGS+=-flto | 7 | # EXTRAFLAGS+=-flto |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 8 | LTO_ENABLE = yes |
| 9 | BACKLIGHT_ENABLE = no | 9 | BACKLIGHT_ENABLE = no |
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) |
diff --git a/keyboards/tkc/candybar/righty/rules.mk b/keyboards/tkc/candybar/righty/rules.mk index 52ef91c47..1edad0835 100644 --- a/keyboards/tkc/candybar/righty/rules.mk +++ b/keyboards/tkc/candybar/righty/rules.mk | |||
| @@ -5,7 +5,7 @@ MCU = STM32F072 | |||
| 5 | # comment out to disable the options. | 5 | # comment out to disable the options. |
| 6 | # | 6 | # |
| 7 | # EXTRAFLAGS+=-flto | 7 | # EXTRAFLAGS+=-flto |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 8 | LTO_ENABLE = yes |
| 9 | BACKLIGHT_ENABLE = no | 9 | BACKLIGHT_ENABLE = no |
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) |
