more workarounds for sha1.c on sparc64; this works fine now.

This commit is contained in:
fgsch 2002-10-05 19:41:17 +00:00
parent 2331d3ee68
commit ba71248fc7
2 changed files with 17 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2002/10/04 13:22:25 brad Exp $
# $OpenBSD: Makefile,v 1.14 2002/10/05 19:41:17 fgsch Exp $
COMMENT= "Secure Live Internet Conferencing (SILC) client"
@ -28,13 +28,10 @@ USE_LIBTOOL= yes
MODULES= iconv
.if ${MACHINE_ARCH:Msparc64}
BROKEN= "compiler bug"
.endif
# XXX workaround gcc bugs on sparc64
#.if ${MACHINE_ARCH:Msparc64}
#PATCH_LIST= gcc-* patch-*
#.endif
.if ${MACHINE_ARCH:Msparc64}
PATCH_LIST= gcc-* patch-*
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \

View File

@ -0,0 +1,13 @@
$OpenBSD: gcc-patch-lib_silcsim_Makefile_in,v 1.1 2002/10/05 19:41:17 fgsch Exp $
--- lib/silcsim/Makefile.in.orig Sat Sep 7 14:04:47 2002
+++ lib/silcsim/Makefile.in Sat Oct 5 07:59:27 2002
@@ -440,6 +440,9 @@ uninstall-am: uninstall-includeHEADERS u
@SILC_SIM_TRUE@all: $(SIM_CIPHER_OBJS) $(SIM_HASH_OBJS)
+sha1.o:
+ $(LTCOMPILE) -O0 -c $(srcdir)/../silccrypt/$*.c
+
$(SIM_CIPHER_OBJS): ../silccrypt/libsilccrypt.a
$(LTCOMPILE) -c $(srcdir)/../silccrypt/$*.c
$(LIBTOOL) --mode=link $(LINK) -rpath $(silc_modulesdir) -o lib$*.la $*.lo