blob: aa22d90d6e9ed4e083881720635f72c98d006a14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ac,v 1.7 2003/01/08 23:56:44 salo Exp $
--- lib/silccrypt/Makefile.in.orig Wed Jan 8 17:25:45 2003
+++ lib/silccrypt/Makefile.in Thu Jan 9 00:15:00 2003
@@ -366,6 +366,14 @@
.c.obj:
$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
+# Workaround a bug in GCC which causes momory exhaustion
+# when compiling sha1 with optimizations on UltraSPARC.
+#
+ifeq (sparc64, $(host_cpu))
+sha1.lo:
+ $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c
+ endif
+
.c.lo:
$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|