Author: tsoome
Date: Wed Aug 26 17:52:32 2020
New Revision: 364827
URL: https://svnweb.freebsd.org/changeset/base/364827

Log:
  libsa: only skein_block.c is using SKEIN_LOOP
  
  Only use SKEIN_LOOP while compiling skein_block.c

Modified:
  head/stand/libsa/zfs/Makefile.inc

Modified: head/stand/libsa/zfs/Makefile.inc
==============================================================================
--- head/stand/libsa/zfs/Makefile.inc   Wed Aug 26 17:15:17 2020        
(r364826)
+++ head/stand/libsa/zfs/Makefile.inc   Wed Aug 26 17:52:32 2020        
(r364827)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to