Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147462187
D14247.id46966.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
834 B
Referenced Files
None
Subscribers
None
D14247.id46966.diff
View Options
Index: head/lib/libmd/Makefile
===================================================================
--- head/lib/libmd/Makefile
+++ head/lib/libmd/Makefile
@@ -98,6 +98,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
@@ -116,6 +123,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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 5:17 AM (2 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29566639
Default Alt Text
D14247.id46966.diff (834 B)
Attached To
Mode
D14247: crossbuild: Allow bootstrapping libmd on MacOS
Attached
Detach File
Event Timeline
Log In to Comment