ASan: Add asan_static to build

This is a partial fix for building with -DWITH_ASAN.

Reviewed by:	Fangrui Song, dim, emaste
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42388
This commit is contained in:
SHENG-YI HONG 2023-11-03 15:02:26 +08:00 committed by Li-Wen Hsu
parent bb8d4411e0
commit 5c783a0b28
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -2995,6 +2995,7 @@ _prereq_libs+= lib/libssp_nonshared
_prereq_libs+= lib/libclang_rt/asan
_prereq_libs+= lib/libclang_rt/asan-preinit
_prereq_libs+= lib/libclang_rt/asan_cxx
_prereq_libs+= lib/libclang_rt/asan_static
.endif
.if ${MK_UBSAN} != "no"
_prereq_libs+= lib/libclang_rt/ubsan_minimal