From e3167ac0ee2a76752c2fdd21fda07b36e596ae9d Mon Sep 17 00:00:00 2001 From: root <182859762@qq.com> Date: Mon, 20 Mar 2023 12:40:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3debug=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= 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 431b1a4..6d56637 100644 --- a/arm11/Makefile +++ b/arm11/Makefile @@ -50,7 +50,7 @@ ASFLAGS := $(ARCH) -gdwarf-4 -flto $(INCLUDE) $(DEFINES) LDFLAGS = $(ARCH) -gdwarf-4 -flto -specs=../arm11.specs -Wl,-Map,$(notdir $*.map) -nostartfiles ifeq ($(strip $(NO_DEBUG)),) - CFLAGS := -fstack-protector-strong -fno-inline + CFLAGS := $(subst -flto,,$(CFLAGS)) -fstack-protector-strong -fno-inline CXXFLAGS := $(subst -flto,,$(CXXFLAGS)) -fstack-protector-strong -fno-inline LDFLAGS := $(subst -flto,,$(LDFLAGS)) -fstack-protector-strong -fno-inline -Wl,-wrap=malloc,-wrap=calloc,-wrap=free endif