[Keyboard] Added workaround for serial.c/LTO issue for helix/rev2 and helix/pico. (#7558)
This commit is contained in:
parent
c6ebb59a8b
commit
722c196b08
2 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,11 @@ SRC += local_drivers/serial.c
|
|||
SRC += local_drivers/ssd1306.c
|
||||
KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers
|
||||
|
||||
# A workaround until #7089 is merged.
|
||||
# serial.c must not be compiled with the -lto option.
|
||||
# The current LIB_SRC has a side effect with the -fno-lto option, so use it.
|
||||
LIB_SRC += local_drivers/serial.c
|
||||
|
||||
CUSTOM_MATRIX = yes
|
||||
|
||||
SRC += pico/matrix.c
|
||||
|
|
|
@ -5,6 +5,11 @@ SRC += local_drivers/serial.c
|
|||
SRC += local_drivers/ssd1306.c
|
||||
KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers
|
||||
|
||||
# A workaround until #7089 is merged.
|
||||
# serial.c must not be compiled with the -lto option.
|
||||
# The current LIB_SRC has a side effect with the -fno-lto option, so use it.
|
||||
LIB_SRC += local_drivers/serial.c
|
||||
|
||||
CUSTOM_MATRIX = yes
|
||||
|
||||
SRC += rev2/matrix.c
|
||||
|
|
Loading…
Reference in a new issue