diff --git a/makefile b/makefile index b6eaab2b..b0d1d7ea 100644 --- a/makefile +++ b/makefile @@ -1317,9 +1317,6 @@ else ifneq (,$(LTO)) ifneq (,$(findstring -flto,$(GCC_OPTIMIZERS))) CFLAGS_O += -flto - ifneq (,$(and $(or $(findstring gcc,$(COMPILER_NAME)),$(findstring GCC,$(COMPILER_NAME))),$(findstring -fwhole-program,$(GCC_OPTIMIZERS)))) - CFLAGS_O += -fwhole-program - endif LTO_FEATURE = , with Link Time Optimization, endif endif