From 82dcadde0dc09ac6d940d05903b58cbd34d6973c Mon Sep 17 00:00:00 2001 From: apaz-cli Date: Sun, 3 Sep 2023 16:33:59 -0500 Subject: [PATCH] Added -fsanitize=address to the makefile. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c2a9d29e1..bd9750aaa 100644 --- a/Makefile +++ b/Makefile @@ -67,8 +67,8 @@ OPT = -Ofast else OPT = -O3 endif -CFLAGS = -I. $(OPT) -std=c11 -fPIC -CXXFLAGS = -I. -I./common $(OPT) -std=c++11 -fPIC +CFLAGS = -I. $(OPT) -std=c11 -fPIC -g -fsanitize=address +CXXFLAGS = -I. -I./common $(OPT) -std=c++11 -fPIC -g -fsanitize=address LDFLAGS = ifdef LLAMA_DEBUG