From 91c7a9320f0aadd6108bc44c71023311e55e7349 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Sun, 12 Mar 2023 07:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arm11/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm11/Makefile b/arm11/Makefile index c9067c2..f72db18 100644 --- a/arm11/Makefile +++ b/arm11/Makefile @@ -42,8 +42,8 @@ CFLAGS := $(ARCH) -std=c17 -O2 -gdwarf-4 -flto -mword-relocations \ -ffunction-sections -fno-math-errno -Wall -Wextra CFLAGS += $(INCLUDE) $(DEFINES) -CXXFLAGS := $(ARCH) -std=c++17 -O2 -gdwarf-4 -flto -fno-rtti -fno-exceptions \ - -mword-relocations -ffunction-sections -fno-math-errno -Wall -Wextra \ +CXXFLAGS := $(ARCH) -std=c++17 -O2 -gdwarf-4 -fstack-protector-strong -fno-rtti -fno-exceptions \ + -mword-relocations -ffunction-sections -fno-math-errno -Wall -Wextra -fno-inline\ -Wl,-wrap=malloc,-wrap=calloc,-wrap=free CXXFLAGS += $(INCLUDE) $(DEFINES)