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:
parent
b88bcd8e87
commit
3ab7eaa5f7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue