Browse Source

gcc hangs when compiling sha1 on sparc64, workaround.

OPENBSD_3_0
art 23 years ago
parent
commit
7c3186ea3c
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/lib/libc/hash/Makefile.inc

+ 6
- 1
src/lib/libc/hash/Makefile.inc View File

@ -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 # hash functions
.PATH: ${LIBCSRCDIR}/hash .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 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 RMD160End.3 rmd160.3 RMD160File.3 rmd160.3 RMD160Data.3
MLINKS+=rmd160.3 RMD160Transform.3 MLINKS+=rmd160.3 RMD160Transform.3
.if (${MACHINE_ARCH} == "sparc64")
sha1.o:
${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c ${.IMPSRC}
.endif

Loading…
Cancel
Save