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)
Fri, Jun 21, 9:01 AM
Unknown Object (File)
Fri, Jun 21, 8:49 AM
Unknown Object (File)
Fri, Jun 21, 8:47 AM
Unknown Object (File)
Apr 19 2024, 8:46 PM
Unknown Object (File)
Apr 12 2024, 7:01 PM
Unknown Object (File)
Mar 29 2024, 3:25 PM
Unknown Object (File)
Mar 22 2024, 11:15 PM
Unknown Object (File)
Mar 22 2024, 11:15 PM

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