diff options
author | Nick Brassel <nick@tzarc.org> | 2022-05-16 15:29:55 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 15:29:55 +1000 |
commit | 581628892600c422796ee4ad4ccf40d32a28b3af (patch) | |
tree | b9048f149c65ea8bef640275e28853a03660d5e4 /builddefs | |
parent | 85289e34ae32b262ef0546a2eb4b487eb5f3bea5 (diff) | |
download | qmk_firmware-581628892600c422796ee4ad4ccf40d32a28b3af.tar.gz qmk_firmware-581628892600c422796ee4ad4ccf40d32a28b3af.zip |
Warn about LTO with arm_atsam, not ChibiOS. (#17106)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/common_rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk index 85dfe67f3f..d3acddc87b 100644 --- a/builddefs/common_rules.mk +++ b/builddefs/common_rules.mk @@ -82,8 +82,8 @@ endif # -Wall...: warning level # -Wa,...: tell GCC to pass this to the assembler. ifeq ($(strip $(LTO_ENABLE)), yes) - ifeq ($(PLATFORM),CHIBIOS) - $(info Enabling LTO on ChibiOS-targeting boards is known to have a high likelihood of failure.) + ifeq ($(PLATFORM),ARM_ATSAM) + $(info Enabling LTO on arm_atsam-targeting boards is known to have a high likelihood of failure.) $(info If unsure, set LTO_ENABLE = no.) endif CDEFS += -flto |