X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2FMakefile.am;h=3dd281ca453b60687de3d847b636417272633bcf;hp=47f7204491e8e6810f2b9556744055b1bb07944b;hb=413da0f8686910f5e627393157566ae729ca99c4;hpb=050bd9d9e5d843220f3f393a18ab5011622237b9 diff --git a/lib/silccrypt/Makefile.am b/lib/silccrypt/Makefile.am index 47f72044..3dd281ca 100644 --- a/lib/silccrypt/Makefile.am +++ b/lib/silccrypt/Makefile.am @@ -73,3 +73,10 @@ endif EXTRA_DIST = *.h tests include $(top_srcdir)/Makefile.defines.in + +# Workaround a bug in GCC 2.x which causes memory exhaustion +# when compiling sha1 with optimizations on UltraSPARC. +# +@FIX_SHA1@sha1.lo: +@FIX_SHA1@ $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c +@FIX_SHA1@