diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-02 14:20:41 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-02 14:20:41 +0000 |
commit | 23f2770bb767608ff981678e0ebe08897fe049e7 (patch) | |
tree | e61965f6d057deaf04e3698892cbd854e917d1dd /lib | |
parent | c1f6cdad0e109782c660d81745a43892a38d440c (diff) |
gcc hangs when compiling sha1 on sparc64, workaround.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/hash/Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
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 |