Page MenuHomeFreeBSD

D14247.id39196.diff
No OneTemporary

D14247.id39196.diff

Index: lib/libmd/Makefile
===================================================================
--- lib/libmd/Makefile
+++ lib/libmd/Makefile
@@ -93,6 +93,13 @@
.PATH: ${.CURDIR}/${MACHINE_ARCH} ${SRCTOP}/sys/crypto/sha2
.PATH: ${SRCTOP}/sys/crypto/skein ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH}
+USE_ASM_SOURCES?=1
+.if defined(BOOTSTRAPPING)
+# Don't build ASM sources when bootstrapping to avoid toolchain dependencies
+USE_ASM_SOURCES:=0
+.endif
+
+.if ${USE_ASM_SOURCES} != 0
.if exists(${MACHINE_ARCH}/sha.S)
SRCS+= sha.S
CFLAGS+= -DSHA1_ASM
@@ -111,6 +118,7 @@
.if exists(${MACHINE_ARCH}/sha.S) || exists(${MACHINE_ARCH}/rmd160.S) || exists(${MACHINE_ARCH}/skein_block_asm.s)
ACFLAGS+= -DELF -Wa,--noexecstack
.endif
+.endif # ${USE_ASM_SOURCES} != 0
md4hl.c: mdXhl.c
(echo '#define LENGTH 16'; \

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 12, 12:20 AM (16 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29557314
Default Alt Text
D14247.id39196.diff (819 B)

Event Timeline