We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85289e3 commit 5816288Copy full SHA for 5816288
builddefs/common_rules.mk
@@ -82,8 +82,8 @@ endif
82
# -Wall...: warning level
83
# -Wa,...: tell GCC to pass this to the assembler.
84
ifeq ($(strip $(LTO_ENABLE)), yes)
85
- ifeq ($(PLATFORM),CHIBIOS)
86
- $(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.)
87
$(info If unsure, set LTO_ENABLE = no.)
88
endif
89
CDEFS += -flto
0 commit comments