From f9c0e93e55793599ec808e9c029578e72be5262c Mon Sep 17 00:00:00 2001 From: maix0 Date: Sat, 12 Oct 2024 17:17:28 +0200 Subject: [PATCH] update: disable valgrind teaching for mealloc --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1e565578..4be758a0 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: rparodi +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# # -# Updated: 2024/10/11 22:24:03 by maiboyer ### ########.fr # +# Updated: 2024/10/12 17:16:48 by maiboyer ### ########.fr # # # # **************************************************************************** # @@ -44,13 +44,13 @@ endif endif # TODO: ADD THIS WHEN FINISHING THIS: -# CFLAGS_ADDITIONAL += -DNVALGRIND +CFLAGS_ADDITIONAL += -DNVALGRIND # TODO: REMOVE THIS WHEN FINISHING THIS: # CFLAGS_ADDITIONAL += -fsanitize=memory -fno-omit-frame-pointer -fsanitize-memory-track-origins #-fuse-ld=lld -ffunction-sections -fdata-sections -Wl,--allow-multiple # CFLAGS_ADDITIONAL += -O0 # CFLAGS_ADDITIONAL += -Wno-cpp -Wno-type-limits -Wno-unused-command-line-argument -CFLAGS_ADDITIONAL += -gcolumn-info -g3 -fno-builtin +# CFLAGS_ADDITIONAL += -gcolumn-info -g3 -fno-builtin # CFLAGS_ADDITIONAL += '-DERROR=((void)printf("ERROR HERE: " __FILE__ ":%d in %s\n", __LINE__, __func__), 1)' # CFLAGS_ADDITIONAL += -O2 # CFLAGS_ADDITIONAL += -fuse-ld=gold -Wl,--print-symbol-counts -Wl,/tmp/symbols_count.log