]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only use ASAN when using the in-tree compiler
authorbrooks <brooks@FreeBSD.org>
Fri, 23 Oct 2020 22:27:45 +0000 (22:27 +0000)
committerbrooks <brooks@FreeBSD.org>
Fri, 23 Oct 2020 22:27:45 +0000 (22:27 +0000)
commit68e3a058d6495f877d54292196ec9cd1e64cb26f
tree24401467a936a3e18f37c4544ce9d8710d1dee9f
parent4bc1e136c29d541ffd248fe89d7b4ea618181d2f
Only use ASAN when using the in-tree compiler

When building FreeBSD 11 on a FreeBSD 12 system with
CROSS_TOOLCHAIN=llvm10 we end up trying to link against the packaged
version of the sanitizer library.  This resulted in a requirement for
getentropy(3) which is not present in FreeBSD 11.

Reviewed by: emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26903
lib/libc/tests/ssp/Makefile