Lines Matching refs:CFLAGS
29 CFLAGS+= -I${INCDIR}
30 CFLAGS+= -I${SRCDIR}/icp/include
31 CFLAGS+= -I${INCDIR}/os/freebsd
32 CFLAGS+= -I${INCDIR}/os/freebsd/spl
33 CFLAGS+= -I${INCDIR}/os/freebsd/zfs
34 CFLAGS+= -I${SRCDIR}/zstd/include
35 CFLAGS+= -I${.CURDIR}
37 CFLAGS+= -D__KERNEL__ -DFREEBSD_NAMECACHE -DBUILDING_ZFS \
42 CFLAGS+= -D__x86_64 -DHAVE_SSE2 -DHAVE_SSSE3 -DHAVE_SSE4_1 -DHAVE_SSE4_2 \
48 CFLAGS+= -DBITS_PER_LONG=32
50 CFLAGS+= -DBITS_PER_LONG=64
384 CFLAGS+= -include ${SRCTOP}/sys/cddl/compat/opensolaris/sys/debug_compat.h
385 CFLAGS+= -include ${INCDIR}/os/freebsd/spl/sys/ccompile.h
386 CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/static_ccompile.h
388 CFLAGS.sysctl_os.c= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
389 CFLAGS.xxhash.c+= -include ${SRCTOP}/sys/sys/_null.h
391 CFLAGS.gcc+= -Wno-pointer-to-int-cast
393 CFLAGS.abd.c= -Wno-cast-qual
394 CFLAGS.ddt.c= -Wno-cast-qual
395 CFLAGS.ddt_log.c= -Wno-cast-qual -Wno-pointer-arith
396 CFLAGS.ddt_zap.c= -Wno-cast-qual
397 CFLAGS.dmu.c= -Wno-cast-qual
398 CFLAGS.dmu_traverse.c= -Wno-cast-qual
399 CFLAGS.dnode.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
400 CFLAGS.dsl_deadlist.c= -Wno-cast-qual
401 CFLAGS.dsl_dir.c= -Wno-cast-qual
402 CFLAGS.dsl_prop.c= -Wno-cast-qual
403 CFLAGS.edonr.c= -Wno-cast-qual
404 CFLAGS.fm.c= -Wno-cast-qual
405 CFLAGS.hist.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
406 CFLAGS.lapi.c= -Wno-cast-qual
407 CFLAGS.lcompat.c= -Wno-cast-qual
408 CFLAGS.ldo.c= ${NO_WINFINITE_RECURSION}
409 CFLAGS.lobject.c= -Wno-cast-qual
410 CFLAGS.ltable.c= -Wno-cast-qual
411 CFLAGS.lvm.c= -Wno-cast-qual
412 CFLAGS.lz4.c= -Wno-cast-qual
413 CFLAGS.lz4_zfs.c= -Wno-cast-qual
414 CFLAGS.nvpair.c= -Wno-cast-qual -DHAVE_RPC_TYPES ${NO_WSTRINGOP_OVERREAD}
415 CFLAGS.pool.c+= ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
416 CFLAGS.pool.c= -U__BMI__ -fno-tree-vectorize
417 CFLAGS.spa.c= -Wno-cast-qual
418 CFLAGS.spa_misc.c= -Wno-cast-qual
419 CFLAGS.spl_string.c= -Wno-cast-qual
420 CFLAGS.spl_vm.c= -Wno-cast-qual
421 CFLAGS.spl_zlib.c= -Wno-cast-qual
422 CFLAGS.u8_textprep.c= -Wno-cast-qual
423 CFLAGS.vdev_draid.c= -Wno-cast-qual
424 CFLAGS.vdev_raidz.c= -Wno-cast-qual
425 CFLAGS.vdev_raidz_math.c= -Wno-cast-qual
426 CFLAGS.vdev_raidz_math_avx2.c= -Wno-cast-qual -Wno-duplicate-decl-specifier
427 CFLAGS.vdev_raidz_math_avx512f.c= -Wno-cast-qual -Wno-duplicate-decl-specifier
428 CFLAGS.vdev_raidz_math_scalar.c= -Wno-cast-qual
429 CFLAGS.vdev_raidz_math_sse2.c= -Wno-cast-qual -Wno-duplicate-decl-specifier
430 CFLAGS.zap_leaf.c= -Wno-cast-qual
431 CFLAGS.zap_micro.c= -Wno-cast-qual
432 CFLAGS.zcp.c= -Wno-cast-qual
433 CFLAGS.zfs_fletcher.c= -Wno-cast-qual -Wno-pointer-arith
434 CFLAGS.zfs_fletcher_avx512.c= -Wno-cast-qual -Wno-pointer-arith
435 CFLAGS.zfs_fletcher_intel.c= -Wno-cast-qual -Wno-pointer-arith
436 CFLAGS.zfs_fletcher_sse.c= -Wno-cast-qual -Wno-pointer-arith
437 CFLAGS.zfs_fm.c= -Wno-cast-qual ${NO_WUNUSED_BUT_SET_VARIABLE}
438 CFLAGS.zfs_ioctl.c= -Wno-cast-qual
439 CFLAGS.zfs_log.c= -Wno-cast-qual
440 CFLAGS.zfs_vnops_os.c= -Wno-pointer-arith
441 CFLAGS.zfs_zstd.c= -Wno-cast-qual -Wno-pointer-arith
442 CFLAGS.zil.c= -Wno-cast-qual
443 CFLAGS.zio.c= -Wno-cast-qual
444 CFLAGS.zprop_common.c= -Wno-cast-qual
445 CFLAGS.zrlock.c= -Wno-cast-qual
448 CFLAGS.entropy_common.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
449 CFLAGS.error_private.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
450 CFLAGS.fse_compress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL} ${NO_WUNUSED…
451 CFLAGS.fse_decompress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
452 CFLAGS.huf_compress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
453 CFLAGS.huf_decompress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
454 CFLAGS.xxhash.c+= -U__BMI__ -fno-tree-vectorize
455 CFLAGS.xxhash.c+= ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
456 CFLAGS.zstd.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
457 CFLAGS.zstd_common.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
458 CFLAGS.zstd_compress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
459 CFLAGS.zstd_compress_literals.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
460 CFLAGS.zstd_compress_sequences.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
461 CFLAGS.zstd_compress_superblock.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL} …
462 CFLAGS.zstd_ddict.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
463 CFLAGS.zstd_decompress.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
464 CFLAGS.zstd_decompress_block.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
465 CFLAGS.zstd_double_fast.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
466 CFLAGS.zstd_fast.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
467 CFLAGS.zstd_lazy.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
468 CFLAGS.zstd_ldm.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
469 CFLAGS.zstd_opt.c= -U__BMI__ -fno-tree-vectorize ${NO_WBITWISE_INSTEAD_OF_LOGICAL}
473 CFLAGS.zstd.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
474 CFLAGS.entropy_common.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
475 CFLAGS.error_private.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
476 CFLAGS.fse_compress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
477 CFLAGS.fse_decompress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
478 CFLAGS.hist.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
479 CFLAGS.huf_compress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
480 CFLAGS.huf_decompress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
481 CFLAGS.pool.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
482 CFLAGS.xxhash.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
483 CFLAGS.zstd_common.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
484 CFLAGS.zstd_compress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
485 CFLAGS.zstd_compress_literals.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
486 CFLAGS.zstd_compress_sequences.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
487 CFLAGS.zstd_compress_superblock.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
488 CFLAGS.zstd_ddict.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
489 CFLAGS.zstd_decompress.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
490 CFLAGS.zstd_decompress_block.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
491 CFLAGS.zstd_double_fast.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
492 CFLAGS.zstd_fast.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
493 CFLAGS.zstd_lazy.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
494 CFLAGS.zstd_ldm.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
495 CFLAGS.zstd_opt.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
498 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC} \
503 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC} \
508 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} \
514 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} \
522 ${CC} -c ${CFLAGS} ${WERROR} \
528 ${CC} -c ${CFLAGS} ${WERROR} \