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
Differential D27684
openzfs: fix gcc in-kernel builds rlibby on Dec 20 2020, 8:31 AM. Authored by Tags None Referenced Files
Subscribers
Details
Fix gcc builds of in-kernel modules using CDDL_CFLAGS (e.g. options
With options ZFS and dependencies added to GENERIC: make buildkernel env MAKEOBJDIRPREFIX=/usr/obj/gcc9 CROSS_TOOLCHAIN=amd64-gcc9 make buildkernel
Diff Detail
|