HomeFreeBSD

Update -ftrivial-auto-var-init flags for clang >= 16

Description

Update -ftrivial-auto-var-init flags for clang >= 16

As of clang 16, the -ftrivial-auto-var-init=zero option no longer needs
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
to enable the option. Only add it for older clang versions.

PR: 271047
Reviewed by: emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D40208

Details

Provenance
dimAuthored on May 23 2023, 5:40 PM
Reviewer
emaste
Differential Revision
D40208: Update -ftrivial-auto-var-init flags for clang >= 16 and gcc >= 12
Parents
rG75e02c458a0d: libsecureboot ensure correct BUILD_UTC
Branches
Unknown
Tags
Unknown