From f94cd253c57ae07d904592dbef1cb4943963bc35 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Thu, 23 Jan 2003 01:28:36 +0000 Subject: Reduce optimization level on alpha to -O to avoid compiler bugs. Should address PR pkg/19858 submitted by Tim Roden. --- mail/imap-uw/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mail/imap-uw') diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 9d80a56ac01..141f37cd779 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2002/12/27 05:47:14 uebayasi Exp $ +# $NetBSD: Makefile,v 1.52 2003/01/23 01:28:36 dmcmahill Exp $ DISTNAME= imap-2002a.DEV.SNAP-0212051126 PKGNAME= imap-uw-2002.1rc1 @@ -70,6 +70,16 @@ ALL_TARGET+= SPECIALAUTHENTICATORS="ssl" ALL_TARGET+= SSLTYPE="unix" .endif +# reduce optimization level on alpha to avoid compiler bugs +.if ${OPSYS} == "NetBSD" +. if (${MACHINE_ARCH} == "alpha") +CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*/-O/g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g} +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" +. endif +.endif + post-extract: # # Change references to the built library to ${CCLIENT_LIB}. -- cgit v1.2.3