software/common: Disable LTO since does not seems to work in all cases and cause random issues.

LTO will have to be properly tested before being enabled.
This commit is contained in:
Florent Kermarrec 2022-06-03 14:42:04 +02:00
parent b88bcd8e87
commit 3ab7eaa5f7
1 changed files with 0 additions and 3 deletions

View File

@ -59,9 +59,6 @@ COMMONFLAGS = $(DEPFLAGS) -Os $(CPUFLAGS) -g3 -fomit-frame-pointer -Wall -fno-bu
ifneq (,$(GCC_PATH)) ifneq (,$(GCC_PATH))
COMMONFLAGS += -nostdinc -I$(GCC_PATH)/include -I$(GCC_PATH)/include-fixed COMMONFLAGS += -nostdinc -I$(GCC_PATH)/include -I$(GCC_PATH)/include-fixed
endif endif
ifeq (,$(findstring musl,$(TRIPLE)))
COMMONFLAGS += -flto
endif
ifneq ($(CPUFAMILY), arm) ifneq ($(CPUFAMILY), arm)
COMMONFLAGS += -fexceptions COMMONFLAGS += -fexceptions
endif endif