git: 5c783a0b2826 - main - ASan: Add asan_static to build

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Fri, 03 Nov 2023 07:07:35 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c783a0b2826d1c6bbaa7d4b01a46d1dcdb39e8c

commit 5c783a0b2826d1c6bbaa7d4b01a46d1dcdb39e8c
Author:     SHENG-YI HONG <aokblast@FreeBSD.org>
AuthorDate: 2023-11-03 07:02:26 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-11-03 07:02:26 +0000

    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
---
 Makefile.inc1 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 6bdb933c813e..075bca234630 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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