XXX workaround a gcc optimization bug on sparc64 (for sha1.c)

inspired by what pvalchev@ did on security/aide
This commit is contained in:
lebel 2002-03-04 20:17:23 +00:00
parent f51dfbc10e
commit 2617722042
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2002/01/25 17:01:12 lebel Exp $
# $OpenBSD: Makefile,v 1.16 2002/03/04 20:17:23 lebel Exp $
COMMENT= "tty-based e-mail client, development version"
@ -27,6 +27,11 @@ PERMIT_DISTFILES_FTP= Yes
FLAVORS= slang mixmaster compressed
FLAVOR?=
# XXX workaround sparc64 gcc optimization bug
.if ${MACHINE_ARCH:Msparc64}
PATCH_LIST= gcc-* patch-*
.endif
SYSCONFDIR= /etc/mutt
CONFIGURE_ARGS= --with-sharedir="${PREFIX}/share/mutt" \
--with-docdir="${PREFIX}/share/doc/mutt" \

View File

@ -0,0 +1,11 @@
$OpenBSD: gcc-Makefile_in,v 1.1 2002/03/04 20:17:23 lebel Exp $
--- Makefile.in Sun Mar 3 02:19:37 2002
+++ Makefile.in- Mon Mar 4 14:59:53 2002
@@ -710,6 +710,7 @@
mutt_curses.h rfc2047.h rfc2231.h mx.h mailbox.h mime.h copy.h \
pager.h pgp.h pgplib.h
sha1.o: sha1.c sha1.h config.h
+ $(COMPILE) -O0 -c $<
signal.o: signal.c mutt.h config.h rfc822.h hash.h charset.h \
mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
mutt_curses.h