From 43f8585fc06caa7eb61843fe692c99b2eb5e9662 Mon Sep 17 00:00:00 2001 From: root <182859762@qq.com> Date: Mon, 13 Mar 2023 11:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8DASFLAG=E7=9A=84lto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arm11/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm11/Makefile b/arm11/Makefile index c98f777..431b1a4 100644 --- a/arm11/Makefile +++ b/arm11/Makefile @@ -46,7 +46,7 @@ CXXFLAGS := $(ARCH) -std=c++17 -O2 -flto -gdwarf-4 -fno-rtti -fno-exceptions \ -mword-relocations -ffunction-sections -fno-math-errno -Wall -Wextra CXXFLAGS += $(INCLUDE) $(DEFINES) -ASFLAGS := $(ARCH) -gdwarf-4 $(INCLUDE) $(DEFINES) +ASFLAGS := $(ARCH) -gdwarf-4 -flto $(INCLUDE) $(DEFINES) LDFLAGS = $(ARCH) -gdwarf-4 -flto -specs=../arm11.specs -Wl,-Map,$(notdir $*.map) -nostartfiles ifeq ($(strip $(NO_DEBUG)),)