HomeFreeBSD

bsd.compiler.mk: detect Apple Clang for cross-builds

Description

bsd.compiler.mk: detect Apple Clang for cross-builds

Apple clang uses a different versioning scheme, so if we enable or
disable certain warnings for Clang 11+, those might not be supported
in Apple Clang 11+. This adds 'apple-clang' to COMPILER_FEATURES, so that
bootstrap tools Makefiles can avoid warnings on macOS.

Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D29680

Details

Provenance
arichardsonAuthored on Apr 20 2021, 12:46 AM
Reviewer
imp
Differential Revision
D29680: bsd.compiler.mk: detect Apple Clang for cross-builds
Parents
rGfaa9ad8a9005: Fix off-by-one error in KASSERT from 02f26e98c7f4.
Branches
Unknown
Tags
Unknown