diff options
author | Mark Adler <fork@madler.net> | 2022-07-31 09:31:52 -0700 |
---|---|---|
committer | Mark Adler <fork@madler.net> | 2022-07-31 09:32:43 -0700 |
commit | 22aec0cb0bb53c126f9feb0471f616203e55d37d (patch) | |
tree | 1d4b260d9694d00fa3eb9da6aab58ebadebfc1b4 | |
parent | eff308af425b67093bab25f80f1ae950166bece1 (diff) | |
download | zlib-22aec0cb0bb53c126f9feb0471f616203e55d37d.tar.gz |
Add -g when debugging with -fsanitize=address to include symbols.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then fi fi if test $sanitize -eq 1; then - CFLAGS="${CFLAGS} -fsanitize=address" + CFLAGS="${CFLAGS} -g -fsanitize=address" fi if test $debug -eq 1; then CFLAGS="${CFLAGS} -DZLIB_DEBUG" |