Add -g when debugging with -fsanitize=address to include symbols.
This commit is contained in:
parent
eff308af42
commit
22aec0cb0b
2
configure
vendored
2
configure
vendored
@ -211,7 +211,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $sanitize -eq 1; then
|
if test $sanitize -eq 1; then
|
||||||
CFLAGS="${CFLAGS} -fsanitize=address"
|
CFLAGS="${CFLAGS} -g -fsanitize=address"
|
||||||
fi
|
fi
|
||||||
if test $debug -eq 1; then
|
if test $debug -eq 1; then
|
||||||
CFLAGS="${CFLAGS} -DZLIB_DEBUG"
|
CFLAGS="${CFLAGS} -DZLIB_DEBUG"
|
||||||
|
Loading…
Reference in New Issue
Block a user