diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-08 16:26:55 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-08 16:26:55 +0000 |
commit | bfed9a71876526a0a1e98b79448e866cf33c5cf1 (patch) | |
tree | 97407c1a97cb00cdf3815b87bbf8ad687ef0e03a /net/bing | |
parent | 3b581f0a5c9220660f83945fa1e32bce064fe246 (diff) | |
download | pkgsrc-bfed9a71876526a0a1e98b79448e866cf33c5cf1.tar.gz |
turn off optimization on alpha to work around a compiler bug
Diffstat (limited to 'net/bing')
-rw-r--r-- | net/bing/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/net/bing/Makefile b/net/bing/Makefile index 8247aa8b22c..c6cbcb48b42 100644 --- a/net/bing/Makefile +++ b/net/bing/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2003/01/19 07:29:41 salo Exp $ +# $NetBSD: Makefile,v 1.12 2003/02/08 16:26:55 dmcmahill Exp $ # FreeBSD Id: Makefile,v 1.2 1997/10/13 09:14:49 tg Exp # @@ -15,3 +15,18 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bing .include "../../mk/bsd.pkg.mk" + +# XXX On NetBSD the gcc-2.95.3 for: +# XXX +# XXX alpha +# XXX +# XXX has an optimization bug when compiling with -O2 that is tickled by +# XXX ${WRKSRC}/bing.c +# +.if ${OPSYS} == "NetBSD" +. if (${MACHINE_ARCH} == "alpha") +CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*//g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*//g} +. endif +.endif + |