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

This commit is contained in:
lebel 2002-03-06 23:48:23 +00:00
parent 4e90af0f19
commit 2f9c130508
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2001/10/06 10:35:14 ho Exp $
# $OpenBSD: Makefile,v 1.24 2002/03/06 23:48:32 lebel Exp $
COMMENT= Berkeley Internet Name Daemon
@ -12,6 +12,11 @@ MASTER_SITES= ftp://ftp.gsnig.org/pub/openbsd-bind/ \
MAINTAINER= Hakan Olsson <ho@openbsd.org>, Jakob Schlyter <jakob@openbsd.org>
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
WRKDIST= ${WRKDIR}/named
PREFIX= /
SAMPLEDIR= ${DESTDIR}/usr/local/share/examples/bind8

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2001/11/26 23:25:18 jakob Exp $
# $OpenBSD: Makefile,v 1.28 2002/03/06 23:48:23 lebel Exp $
COMMENT= Berkeley Internet Name Daemon
@ -23,6 +23,11 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-libtool ${CONFIGURE_SHARED} \