macOS build with latest clang from Xcode
A bunch of new warnings appeared by default on macOS compiler provided with Xcode, including on every usage of sprintf(). Suppress those for now. The issues with utilizing WANT_ASAN=1 on the make command line with macOS seem to be resolved in this latest version, so allow it to be specified. Don't specify it if using a problematic clang version.
This commit is contained in:
@@ -72,10 +72,9 @@ endif # WANT_WIN_QT
|
||||
|
||||
#-INCLUDE multiw-3.370
|
||||
|
||||
ifdef NEED_ASAN
|
||||
ifeq "$(NEED_ASAN)" "1"
|
||||
#LFLAGS +=-fsanitize=address
|
||||
endif
|
||||
ifeq "$(USE_ASAN)" "1"
|
||||
CFLAGS +=-fsanitize=address
|
||||
LFLAGS +=-fsanitize=address
|
||||
endif
|
||||
|
||||
# NetHack sources control
|
||||
|
||||
Reference in New Issue
Block a user