diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2017-02-18 23:07:01 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2017-02-18 23:07:01 -0800 |
commit | be5e3647c4aca626dcfa833ae2455b7af21b60b3 (patch) | |
tree | 3f3d1c224c55f9c0c488ce1358af0aca637d5ee4 /configure | |
parent | 90287635ef9ae8e51e120483d1b48789239a0577 (diff) | |
download | zlib-be5e3647c4aca626dcfa833ae2455b7af21b60b3.tar.gz zlib-be5e3647c4aca626dcfa833ae2455b7af21b60b3.tar.bz2 zlib-be5e3647c4aca626dcfa833ae2455b7af21b60b3.zip |
Add address checking in clang to -w option of configure.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -194,9 +194,9 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then | |||
194 | fi | 194 | fi |
195 | if test "$warn" -eq 1; then | 195 | if test "$warn" -eq 1; then |
196 | if test "$zconst" -eq 1; then | 196 | if test "$zconst" -eq 1; then |
197 | CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST" | 197 | CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST -fsanitize=address" |
198 | else | 198 | else |
199 | CFLAGS="${CFLAGS} -Wall -Wextra -pedantic" | 199 | CFLAGS="${CFLAGS} -Wall -Wextra -pedantic -fsanitize=address" |
200 | fi | 200 | fi |
201 | fi | 201 | fi |
202 | if test $debug -eq 1; then | 202 | if test $debug -eq 1; then |