Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.pre.mk
Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | |||||
CDDL_CFLAGS= \ | CDDL_CFLAGS= \ | ||||
-DFREEBSD_NAMECACHE \ | -DFREEBSD_NAMECACHE \ | ||||
-D_SYS_VMEM_H_ \ | -D_SYS_VMEM_H_ \ | ||||
-D__KERNEL \ | -D__KERNEL \ | ||||
-D__KERNEL__ \ | -D__KERNEL__ \ | ||||
-nostdinc \ | -nostdinc \ | ||||
-include $S/modules/zfs/static_ccompile.h \ | -include $S/modules/zfs/static_ccompile.h \ | ||||
-I${ZINCDIR} \ | -I${ZINCDIR} \ | ||||
-I${ZINCDIR}/spl \ | |||||
-I${ZINCDIR}/os/freebsd \ | -I${ZINCDIR}/os/freebsd \ | ||||
-I${ZINCDIR}/os/freebsd/spl \ | -I${ZINCDIR}/os/freebsd/spl \ | ||||
-I${ZINCDIR}/os/freebsd/zfs \ | -I${ZINCDIR}/os/freebsd/zfs \ | ||||
-I$S/modules/zfs \ | -I$S/modules/zfs \ | ||||
-I$S/contrib/openzfs/module/zstd/include \ | -I$S/contrib/openzfs/module/zstd/include \ | ||||
-I$S/contrib/openzfs/module/zstd/lib/freebsd/ \ | |||||
${CFLAGS} \ | ${CFLAGS} \ | ||||
-Wno-unknown-pragmas \ | |||||
-Wno-missing-prototypes \ | |||||
-Wno-undef \ | |||||
-Wno-strict-prototypes \ | |||||
-Wno-cast-qual \ | -Wno-cast-qual \ | ||||
-Wno-duplicate-decl-specifier \ | |||||
-Wno-inline \ | |||||
-Wno-missing-braces \ | |||||
-Wno-missing-prototypes \ | |||||
-Wno-nested-externs \ | |||||
-Wno-parentheses \ | -Wno-parentheses \ | ||||
-Wno-pointer-arith \ | |||||
-Wno-redundant-decls \ | -Wno-redundant-decls \ | ||||
-Wno-missing-braces \ | -Wno-strict-prototypes \ | ||||
-Wno-uninitialized \ | |||||
-Wno-unused \ | |||||
-Wno-inline \ | |||||
-Wno-switch \ | -Wno-switch \ | ||||
-Wno-pointer-arith \ | -Wno-undef \ | ||||
-Wno-uninitialized \ | |||||
markj: BTW, @brewery discovered last week that the use of -Wno-uninitialized is covering up bugs in… | |||||
Done Inline ActionsGlad to hear it. I'll make sure to try the gcc build again after that goes in. rlibby: Glad to hear it. I'll make sure to try the gcc build again after that goes in. | |||||
-Wno-unknown-pragmas \ | -Wno-unknown-pragmas \ | ||||
-Wno-duplicate-decl-specifier \ | -Wno-unused \ | ||||
-include ${ZINCDIR}/os/freebsd/spl/sys/ccompile.h \ | -include ${ZINCDIR}/os/freebsd/spl/sys/ccompile.h \ | ||||
-I$S/cddl/contrib/opensolaris/uts/common \ | -I$S/cddl/contrib/opensolaris/uts/common \ | ||||
-I$S -I$S/cddl/compat/opensolaris | -I$S -I$S/cddl/compat/opensolaris | ||||
CDDL_C= ${CC} -c ${CDDL_CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} | CDDL_C= ${CC} -c ${CDDL_CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} | ||||
# Special flags for managing the compat compiles for ZFS | # Special flags for managing the compat compiles for ZFS | ||||
ZFS_CFLAGS+= ${CDDL_CFLAGS} -DBUILDING_ZFS -DHAVE_UIO_ZEROCOPY \ | ZFS_CFLAGS+= ${CDDL_CFLAGS} -DBUILDING_ZFS -DHAVE_UIO_ZEROCOPY \ | ||||
-DWITH_NETDUMP -D__KERNEL__ -D_SYS_CONDVAR_H_ -DSMP \ | -DWITH_NETDUMP -D__KERNEL__ -D_SYS_CONDVAR_H_ -DSMP \ | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |
BTW, @brewery discovered last week that the use of -Wno-uninitialized is covering up bugs in dtrace. I think he is looking at removing this option.