mirror of
git://github.com/lxc/lxc
synced 2025-08-29 11:32:02 +00:00
configure: add sanitizer flags to LDFLAGS as well
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
9843495025
commit
6aaa6ece42
@ -479,6 +479,11 @@ if test "x$enable_sanitizers" = "xyes"; then
|
||||
-fno-omit-frame-pointer])
|
||||
AC_SUBST(AM_CFLAGS)
|
||||
|
||||
CC_CHECK_FLAGS_APPEND([AM_LDFLAGS],[LDFLAGS],[ \
|
||||
-fsanitize=address \
|
||||
-fsanitize=undefined])
|
||||
AC_SUBST(AM_LDFLAGS)
|
||||
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
|
Loading…
x
Reference in New Issue
Block a user