aboutsummaryrefslogtreecommitdiff
path: root/builddefs/common_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'builddefs/common_rules.mk')
-rw-r--r--builddefs/common_rules.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk
index cc7d5a76d3..e45063cfaf 100644
--- a/builddefs/common_rules.mk
+++ b/builddefs/common_rules.mk
@@ -58,10 +58,6 @@ endif
#---------------- C Compiler Options ----------------
ifeq ($(strip $(LTO_ENABLE)), yes)
- 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
CDEFS += -DLTO_ENABLE
endif