summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 16:18:24 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 16:18:24 +0200
commit450dbb986b10606a4052a934fb6ad9006eba6a4b (patch)
treee7547eec0595b4fac67792f2a2ed3615310b9fd0 /Makefile
parentlater (diff)
download42-minishell-450dbb986b10606a4052a934fb6ad9006eba6a4b.tar.gz
42-minishell-450dbb986b10606a4052a934fb6ad9006eba6a4b.tar.bz2
42-minishell-450dbb986b10606a4052a934fb6ad9006eba6a4b.tar.xz
42-minishell-450dbb986b10606a4052a934fb6ad9006eba6a4b.tar.zst
42-minishell-450dbb986b10606a4052a934fb6ad9006eba6a4b.zip
Freed leak
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d74ecf3..b91709a 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,14 @@ asan: CFLAGS += -fsanitize=address
asan: LFTRULE = asan
asan: all
#------------------------------------------------------------------------------#
+msan: CFLAGS += -glldb
+msan: CFLAGS += -fsanitize=memory
+msan: CFLAGS += -fsanitize-memory-track-origins
+msan: CFLAGS += -fno-common
+msan: CFLAGS += -fno-omit-frame-pointer
+msan: LFTRULE = msan
+msan: all
+#------------------------------------------------------------------------------#
clean:
@$(MAKE) --no-print-directory -C ${LFT_DIR} clean
${RM} ${OBJS_DIR} vgcore*