HomeFreeBSD

stans: Narrow the scope of includes and other flags

Description

stans: Narrow the scope of includes and other flags

CFLAGS+= here affects *ALL* libsa files being built. However, this is
only needed for zfs.c, so define it only for this. Also, use the defines
from defs.mk. Move all the zfs.c include hacks together. Also, move the
-Wformat -Wall warnings that were added to CFLAGS+= to the individual
files instead for the same reason.

Sponsored by: Netflix

Details

Provenance
impAuthored on Jul 8 2022, 3:42 PM
Parents
rG0e5ac0ad0384: stand: Use a for loop for all the common ZSTD files
Branches
Unknown
Tags
Unknown