Skip to content

Commit

Permalink
Ensure ASan --enable-asan is available in macOS too.
Browse files Browse the repository at this point in the history
Fixes previous commit.
  • Loading branch information
allinurl committed May 14, 2024
1 parent 891d965 commit 761b429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ AC_CANONICAL_HOST
AC_MSG_CHECKING([whether to build with rdynamic for GNU ld])
with_rdyanimc=yes
case "$host_os" in
*cygwin*|*aix*|*mingw*) with_rdyanimc=no
*darwin*|*cygwin*|*aix*|*mingw*) with_rdyanimc=no
;;
esac
AC_MSG_RESULT([$with_rdyanimc])
Expand All @@ -55,7 +55,7 @@ AC_ARG_ENABLE([asan],
[with_asan=$enableval], [with_asan=no])
AC_MSG_CHECKING([whether to build with address sanitizer])
case "$host_os" in
*darwin*|*cygwin*|*aix*|*mingw*) with_asan=no
*cygwin*|*aix*|*mingw*) with_asan=no
;;
esac
AC_MSG_RESULT([$with_asan])
Expand Down

0 comments on commit 761b429

Please sign in to comment.