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:
@@ -56,7 +56,8 @@ endif # WANT_WIN_QT
|
||||
#
|
||||
#-INCLUDE multiw-3.370
|
||||
|
||||
ifeq "$(NEED_ASAN)" "1"
|
||||
ifeq "$(USE_ASAN)" "1"
|
||||
CFLAGS+=-fsanitize=address
|
||||
LFLAGS+=-fsanitize=address
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user