--- makefile.orig 2022-09-02 08:35:22 UTC +++ makefile @@ -57,7 +57,7 @@ ifeq ($(DEBUG),1) LDFLAGS := -fsanitize=undefined endif else - CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1 + CFLAGS += -O3 -DNDEBUG=1 -DWITHOUT_NANA=1 SRC_CII += cii/src/mem.c endif OBJ_CII := $(SRC_CII:.c=.o) @@ -75,7 +75,6 @@ ifeq ($(shell uname -n),raspberrypi) CFLAGS += -D__rpi__ endif ifneq ($(DEBUG),1) - LDFLAGS += -flto ifeq ($(shell uname),Darwin) LDFLAGS += -Wl,-S,-x else