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)