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

(cherry picked from commit ba1182e26376987fe424707b2abc4d6532b28623)

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
rG46c255b6325d: truss: improved support for decoding compat32 arguments
Branches
Unknown
Tags
Unknown