From 85feda87745b30770a4bfefdb94515957add61c8 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 29 Mar 2023 22:09:19 -0400 Subject: [PATCH] comment out WANT_ASAN=1 for now encountered an error testing it on macOS --- sys/unix/hints/include/compiler.370 | 4 ++-- sys/unix/hints/macOS.370 | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/unix/hints/include/compiler.370 b/sys/unix/hints/include/compiler.370 index 7aea39762..4d5b57346 100755 --- a/sys/unix/hints/include/compiler.370 +++ b/sys/unix/hints/include/compiler.370 @@ -30,7 +30,7 @@ CCFLAGS = -g # -Wno-deprecated-declarations #ifeq "$(WANT_ASAN)" "1" -NEED_ASAN=1 +#NEED_ASAN=1 #endif # If you want to override the compiler detection just carried out @@ -64,7 +64,7 @@ CFLAGS+=-Wold-style-definition CFLAGS+=-Wstrict-prototypes #ifeq "$(NEED_ASAN)" "1" -CFLAGS+=-fsanitize=address +#CFLAGS+=-fsanitize=address #endif #detection of clang vs gcc diff --git a/sys/unix/hints/macOS.370 b/sys/unix/hints/macOS.370 index 0fa1e067a..d8c54c688 100755 --- a/sys/unix/hints/macOS.370 +++ b/sys/unix/hints/macOS.370 @@ -72,8 +72,10 @@ endif # WANT_WIN_QT #-INCLUDE multiw-3.370 +ifdef NEED_ASAN ifeq "$(NEED_ASAN)" "1" -LFLAGS +=-fsanitize=address +#LFLAGS +=-fsanitize=address +endif endif # NetHack sources control