Skip to content

Commit

Permalink
[asan] Disable the "maybe-uninitialized" warning when compiled with A…
Browse files Browse the repository at this point in the history
…SAN enabled.
  • Loading branch information
oleksandrivantsiv authored Feb 28, 2024
1 parent 97c7f3e commit 9c995f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ if test "x$asan_enabled" = "xtrue"; then
CFLAGS_ASAN+=" -fsanitize=address"
CFLAGS_ASAN+=" -DASAN_ENABLED"
CFLAGS_ASAN+=" -ggdb -fno-omit-frame-pointer -U_FORTIFY_SOURCE"
CFLAGS_ASAN+=" -Wno-maybe-uninitialized"
AC_SUBST(CFLAGS_ASAN)

LDFLAGS_ASAN+=" -lasan"
Expand Down

0 comments on commit 9c995f0

Please sign in to comment.