Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143808857
D16844.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
909 B
Referenced Files
None
Subscribers
None
D16844.diff
View Options
Index: head/lib/libmd/Makefile
===================================================================
--- head/lib/libmd/Makefile
+++ head/lib/libmd/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PACKAGE=lib${LIB}
LIB= md
SHLIB_MAJOR= 6
@@ -114,11 +116,15 @@
CFLAGS+= -DRMD160_ASM
.endif
.if exists(${MACHINE_ARCH}/skein_block_asm.s)
+.if defined(XAS) || ${MK_BINUTILS_BOOTSTRAP} != "no"
AFLAGS += --strip-local-absolute
# Fully unroll all loops in the assembly optimized version
AFLAGS+= --defsym SKEIN_LOOP=0
SRCS+= skein_block_asm.s
CFLAGS+= -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792
+.else
+.warning as not available: not using optimized Skein asm
+.endif
.endif
.if exists(${MACHINE_ARCH}/sha.S) || exists(${MACHINE_ARCH}/rmd160.S) || exists(${MACHINE_ARCH}/skein_block_asm.s)
ACFLAGS+= -DELF -Wa,--noexecstack
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 2:44 PM (4 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28392744
Default Alt Text
D16844.diff (909 B)
Attached To
Mode
D16844: Don't build skein_block_asm.s if we don't have an as binary
Attached
Detach File
Event Timeline
Log In to Comment