mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-05-01 03:21:27 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
b181f46f93
@ -82,8 +82,8 @@ endif
|
|||||||
# -Wall...: warning level
|
# -Wall...: warning level
|
||||||
# -Wa,...: tell GCC to pass this to the assembler.
|
# -Wa,...: tell GCC to pass this to the assembler.
|
||||||
ifeq ($(strip $(LTO_ENABLE)), yes)
|
ifeq ($(strip $(LTO_ENABLE)), yes)
|
||||||
ifeq ($(PLATFORM),CHIBIOS)
|
ifeq ($(PLATFORM),ARM_ATSAM)
|
||||||
$(info Enabling LTO on ChibiOS-targeting boards is known to have a high likelihood of failure.)
|
$(info Enabling LTO on arm_atsam-targeting boards is known to have a high likelihood of failure.)
|
||||||
$(info If unsure, set LTO_ENABLE = no.)
|
$(info If unsure, set LTO_ENABLE = no.)
|
||||||
endif
|
endif
|
||||||
CDEFS += -flto
|
CDEFS += -flto
|
||||||
|
Loading…
Reference in New Issue
Block a user