[Bug 260097] MFC WITHOUT_CXX fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Nov 2021 02:16:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260097

            Bug ID: 260097
           Summary: MFC WITHOUT_CXX fix
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

This fix applied to 14-CURRENT also applies to 13.0-STABLE as of the 2021-11-24
snapshot and fixes the WITHOUT_CXX build option:

https://freshbsd.org/freebsd/src/commit/ad09e2c8cfbc2cf6f2b8826c121d6de8b3bfe96d

lib/Makefile

+# The libraries under libclang_rt can only be built by clang and when we
enable
-# sense to build when clang is enabled at all.  Furthermore, they can only be 
        +# C++ support.  Furthermore, they can only be built for certain
architectures.
-# built for certain architectures.
+.if ${COMPILER_TYPE} == "clang" && ${MK_CXX} != "no" && \

-- 
You are receiving this mail because:
You are the assignee for the bug.