Skip to content

Commit

Permalink
Issue 49845 - Remove pkgconfig check for libasan
Browse files Browse the repository at this point in the history
Bug Description:
A recent commit introduced a pkgconfig check for libasan. However, ASAN
buildtime whereabouts are provided within compiler itself, hence there is no
external libasan.pc file, only dynamic linking to libasan is necessary.

Fix Description:
Remove the superfluous check from configure.ac.

Relates https://pagure.io/389-ds-base/issue/49845

Author: Matus Honek <[email protected]>

Review by: ???

(cherry picked from commit 031c0b9)
  • Loading branch information
kenoh committed Mar 5, 2020
1 parent edddec5 commit a5a97d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ AC_ARG_ENABLE(asan, AS_HELP_STRING([--enable-asan], [Enable gcc/clang address sa
[], [ enable_asan=no ])
AC_MSG_RESULT($enable_asan)
if test "$enable_asan" = yes ; then
PKG_CHECK_MODULES([ASAN], [libasan])
asan_cflags="-fsanitize=address -fno-omit-frame-pointer -lasan"
asan_rust_defs="-Z sanitizer=address"
else
Expand Down

0 comments on commit a5a97d6

Please sign in to comment.