diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 16:33:57 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 16:33:57 +0000 |
commit | 869fc305221541228f05bd008c218ca3e95ea803 (patch) | |
tree | 69d50b333c13c4de75901a7d4f79a255d6dc9718 /net/isic | |
parent | 21473236f52cb54289b21dacb6fbcea552b800cc (diff) | |
download | pkgsrc-869fc305221541228f05bd008c218ca3e95ea803.tar.gz |
reduce optimization on alpha to avoid a compiler bug
Diffstat (limited to 'net/isic')
-rw-r--r-- | net/isic/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/net/isic/Makefile b/net/isic/Makefile index e76d36a7351..880aa2be841 100644 --- a/net/isic/Makefile +++ b/net/isic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2002/08/25 21:49:59 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2003/02/09 16:33:57 dmcmahill Exp $ # DISTNAME= isic-0.05 @@ -18,3 +18,18 @@ post-install: .include "../../devel/libnet/buildlink2.mk" .include "../../mk/bsd.pkg.mk" + +# XXX On NetBSD, the egcs and gcc-2.95.3 for: +# XXX +# XXX alpha +# XXX +# XXX has an optimization bug when compiling with -O2 +# +.if ${OPSYS} == "NetBSD" +. if (${MACHINE_ARCH} == "alpha") +CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*//g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*//g} +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" +. endif +.endif |