HomeFreeBSD

openzfs: fix gcc in-kernel builds

Description

openzfs: fix gcc in-kernel builds

Fix gcc builds of in-kernel modules using CDDL_CFLAGS (e.g. options
ZFS).

  • Remove nonexistent include dirs for -Wmissing-include-dirs
  • Suppress -Wnested-externs, a useless warning
  • Sort and uniq warning flags while here

Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27684

Details

Provenance
rlibbyAuthored on Dec 24 2020, 8:34 PM
Reviewer
markj
Differential Revision
D27684: openzfs: fix gcc in-kernel builds
Parents
rG30f34a519372: ukbd(4): Push LED events in ioctl handler rather than in xfer callback
Branches
Unknown
Tags
Unknown