summaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2020-08-26 17:52:32 +0000
committerToomas Soome <tsoome@FreeBSD.org>2020-08-26 17:52:32 +0000
commit0fec8f03cf996be5d4c9d770a7c47aae5e5aaee8 (patch)
tree570dfe8fe7462a343b9d468226201cd7c6b29b79 /stand
parent513575d446ecb488e677538312ac8cf8e2893a5a (diff)
downloadsrc-test-0fec8f03cf996be5d4c9d770a7c47aae5e5aaee8.tar.gz
src-test-0fec8f03cf996be5d4c9d770a7c47aae5e5aaee8.zip
libsa: only skein_block.c is using SKEIN_LOOP
Only use SKEIN_LOOP while compiling skein_block.c
Notes
Notes: svn path=/head/; revision=364827
Diffstat (limited to 'stand')
-rw-r--r--stand/libsa/zfs/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc
index 5e4e2d455c830..4212e2b40b93b 100644
--- a/stand/libsa/zfs/Makefile.inc
+++ b/stand/libsa/zfs/Makefile.inc
@@ -2,8 +2,6 @@
.PATH: ${ZFSSRC}
SRCS+= zfs.c nvlist.c skein.c skein_block.c list.c
-# Do not unroll skein loops, reduce code size
-CFLAGS+= -DSKEIN_LOOP=111
.PATH: ${SYSDIR}/crypto/skein
.PATH: ${SYSDIR}/cddl/contrib/opensolaris/uts/common/os
@@ -12,6 +10,8 @@ CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${SYSDIR}/crypto/skein
+# Do not unroll skein loops, reduce code size
+CFLAGS.skein_block.c+= -DSKEIN_LOOP=111
CFLAGS.zfs.c+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4
CFLAGS+= -Wformat -Wall