diff options
Diffstat (limited to 'builddefs/common_rules.mk')
| -rw-r--r-- | builddefs/common_rules.mk | 4 |
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 | |||
| 58 | #---------------- C Compiler Options ---------------- | 58 | #---------------- C Compiler Options ---------------- |
| 59 | 59 | ||
| 60 | ifeq ($(strip $(LTO_ENABLE)), yes) | 60 | ifeq ($(strip $(LTO_ENABLE)), yes) |
| 61 | ifeq ($(PLATFORM),ARM_ATSAM) | ||
| 62 | $(info Enabling LTO on arm_atsam-targeting boards is known to have a high likelihood of failure.) | ||
| 63 | $(info If unsure, set LTO_ENABLE = no.) | ||
| 64 | endif | ||
| 65 | CDEFS += -flto | 61 | CDEFS += -flto |
| 66 | CDEFS += -DLTO_ENABLE | 62 | CDEFS += -DLTO_ENABLE |
| 67 | endif | 63 | endif |
