diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk index d6f91b10e4..0e5731b4b8 100644 --- a/builddefs/common_rules.mk +++ b/builddefs/common_rules.mk @@ -58,7 +58,7 @@ endif #---------------- C Compiler Options ---------------- ifeq ($(strip $(LTO_ENABLE)), yes) - CDEFS += -flto + CDEFS += -flto=auto CDEFS += -DLTO_ENABLE endif