diff --git a/AUTHORS b/AUTHORS index 804232f1..89e7c9ed 100644 --- a/AUTHORS +++ b/AUTHORS @@ -189,6 +189,7 @@ Stefan Geschwentner (locutus2) Stefano Cardanobile (Stefano80) Steinar Gunderson (sesse) Stéphane Nicolet (snicolet) +Syine Mineta (MinetaS) Prokop Randáček (ProkopRandacek) Thanar2 thaspel diff --git a/src/Makefile b/src/Makefile index 880710fe..1d5137d1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -678,7 +678,7 @@ endif ifeq ($(optimize),yes) ifeq ($(debug), no) ifeq ($(comp),clang) - CXXFLAGS += -flto + CXXFLAGS += -flto=full ifeq ($(target_windows),yes) CXXFLAGS += -fuse-ld=lld endif @@ -688,10 +688,10 @@ ifeq ($(debug), no) # GCC on some systems. else ifeq ($(comp),gcc) ifeq ($(gccisclang),) - CXXFLAGS += -flto + CXXFLAGS += -flto -flto-partition=one LDFLAGS += $(CXXFLAGS) -flto=jobserver else - CXXFLAGS += -flto + CXXFLAGS += -flto=full LDFLAGS += $(CXXFLAGS) endif