Page MenuHomeFreeBSD

Don't build sanitizer runtimes under WITHOUT_CXX
ClosedPublic

Authored by emaste on Oct 29 2021, 1:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 25 2024, 6:11 PM
Unknown Object (File)
Sep 17 2024, 9:25 AM
Unknown Object (File)
Sep 16 2024, 4:31 PM
Unknown Object (File)
Sep 16 2024, 8:02 AM
Unknown Object (File)
Sep 5 2024, 1:21 AM
Unknown Object (File)
Sep 3 2024, 9:38 PM
Unknown Object (File)
Sep 3 2024, 12:31 AM
Unknown Object (File)
Sep 1 2024, 10:42 AM

Details

Summary

In the past we built the sanitizer runtimes when building Clang (and using Clang as the compiler) but 7676b388adbc changed this to be conditional only on using Clang, to make the runtimes available for external Clang.

They fail to build when WITHOUT_CXX is set though, so add MK_CXX as part of the condition.

Reported by: Michael Dexter, Build Option Survey
Fixes: 7676b388adbc ("Always build the sanitizer runtimes...")
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable