--- redis-7.4.1.old/src/Makefile +++ redis-7.4.1/src/Makefile @@ -24,13 +24,6 @@ # some automatic defaults are added to it. To specify optimization flags # explicitly without any defaults added, pass the OPT variable instead. OPTIMIZATION?=-O3 -ifeq ($(OPTIMIZATION),-O3) - ifeq (clang,$(CLANG)) - OPTIMIZATION+=-flto - else - OPTIMIZATION+=-flto=auto - endif -endif ifneq ($(OPTIMIZATION),-O0) OPTIMIZATION+=-fno-omit-frame-pointer endif