From 23f2770bb767608ff981678e0ebe08897fe049e7 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sun, 2 Sep 2001 14:20:41 +0000 Subject: gcc hangs when compiling sha1 on sparc64, workaround. --- lib/libc/hash/Makefile.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libc/hash/Makefile.inc b/lib/libc/hash/Makefile.inc index 699ebb0d008..20528d524a4 100644 --- a/lib/libc/hash/Makefile.inc +++ b/lib/libc/hash/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.7 1999/11/17 05:22:40 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.8 2001/09/02 14:20:40 art Exp $ # hash functions .PATH: ${LIBCSRCDIR}/hash @@ -11,3 +11,8 @@ MLINKS+=sha1.3 SHA1Transform.3 MLINKS+=rmd160.3 RMD160Init.3 rmd160.3 RMD160Update.3 rmd160.3 RMD160Final.3 MLINKS+=rmd160.3 RMD160End.3 rmd160.3 RMD160File.3 rmd160.3 RMD160Data.3 MLINKS+=rmd160.3 RMD160Transform.3 + +.if (${MACHINE_ARCH} == "sparc64") +sha1.o: + ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c ${.IMPSRC} +.endif -- cgit v1.2.3