HomeFreeBSD

Include ARCH_FLAGS in CFLAGS when building modules.

Description

Include ARCH_FLAGS in CFLAGS when building modules.

Without this change, modules will match the default compiler
configuration which may not be the same as the kernel values.

Reviewed by: imp
Obtained from: CheriBSD
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D11633

Details

Provenance
brooksAuthored on
Reviewer
imp
Differential Revision
D11633: Include ARCH_FLAGS in CFLAGS when building modules.
Parents
rS321255: Record-only merge for ^/head@r312419
Branches
Unknown
Tags
Unknown