]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only use ASAN when using the in-tree compiler
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 23 Oct 2020 22:27:45 +0000 (22:27 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 23 Oct 2020 22:27:45 +0000 (22:27 +0000)
commit3e7449a37b92e7b5333c4be704a191661f038a9a
tree24401467a936a3e18f37c4544ce9d8710d1dee9f
parent9729b14985832614fe7a8e372a9dcccaffc7d05d
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