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 and cscarpitta committed Apr 5, 2024
1 parent 3b84199 commit 3e68187
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 3e68187

Please sign in to comment.