HomeFreeBSD

Apply ASAN/UBSAN Makefile check only for build target

Description

Apply ASAN/UBSAN Makefile check only for build target

COMPILER_TYPE is not set during cleandir and perhaps other non-build
targets, and a build with ASAN or UBSAN enabled failed with an error
reporting that runtime libraries could not be built.

PR: 260099
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32805

Details

Provenance
emasteAuthored on Dec 7 2021, 6:08 PM
Reviewer
dim
Differential Revision
D32805: Skip libclang_rt build check during non-build stages
Parents
rGecd8245e0d77: Kernel linkers: add emergency sysctl to restore old behavior
Branches
Unknown
Tags
Unknown