Skip to content
Snippets Groups Projects
Commit be5e3647 authored by Mark Adler's avatar Mark Adler
Browse files

Add address checking in clang to -w option of configure.

parent 90287635
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -194,9 +194,9 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
fi
if test "$warn" -eq 1; then
if test "$zconst" -eq 1; then
CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST"
CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST -fsanitize=address"
else
CFLAGS="${CFLAGS} -Wall -Wextra -pedantic"
CFLAGS="${CFLAGS} -Wall -Wextra -pedantic -fsanitize=address"
fi
fi
if test $debug -eq 1; then
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment